使用 CometAPI 的 Submit Editor API(POST /mj/submit/edits),透過 maskBase64、prompt、可選的原始圖片,以及透明編輯來修改 Midjourney 圖像。
{
"code": 123,
"description": "<string>",
"result": "<string>"
}maskBase64 與 prompt,並可選擇提供原始 imageimage 與 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>"
}