CometAPI Submit Editor API(POST /mj/submit/edits)を使用して、maskBase64、プロンプト(Prompt)、オプションの元画像、透過編集で Midjourney 画像を編集します。
{
"code": 123,
"description": "<string>",
"result": "<string>"
}maskBase64 と prompt を送信し、必要に応じて元の image も指定しますimage と prompt を送信しますBearer token authentication. Use your CometAPI key.
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>"
}