Kirim Editor
Gunakan CometAPI Submit Editor API (POST /mj/submit/edits) untuk mengedit gambar Midjourney dengan maskBase64, prompt, original opsional, dan edit transparan.
{
"code": 123,
"description": "<string>",
"result": "<string>"
}Gunakan endpoint ini untuk mengedit gambar Midjourney dengan mask, atau untuk menghasilkan hasil dengan latar belakang transparan dari prompt ditambah gambar sumber.Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Dua mode umum
- Edit dengan mask: kirim
maskBase64plusprompt, dan secara opsionalimageasli - Gambar transparan: kirim
imagepluspromptsaat Anda menginginkan hasil berlatar belakang transparan tanpa mask terpisah
Alur task
Kirim task editor
Poll task
Lanjutkan dari hasil
Otorisasi
Bearer token authentication. Use your CometAPI key.
Body
Text prompt describing the desired edit.
Image to edit. Pass a public URL or a base64-encoded data URI.
Custom state string. Returned as-is in the task result and webhook callback for your own tracking.
Webhook URL to receive task status updates. Falls back to your account-level webhook if omitted.
When true, return the original provider image URL instead of a CometAPI-proxied link.
{
"code": 123,
"description": "<string>",
"result": "<string>"
}