Gebruik POST /mj/submit/modal om Midjourney modal-output van zoom of gebiedsherontwerp in te dienen en door te gaan met de volgende stap voor afbeeldingsbewerking in CometAPI.
curl --request POST \
--url https://api.cometapi.com/mj/submit/modal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"taskId": "14001934816969359"
}
'{
"code": 123,
"description": "<string>",
"properties": {},
"result": 123
}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.
status: "MODAL" retourneert. Dit is vereist voor bewerkingen die extra gegevens nodig hebben, zoals inpainting-maskers of aangepaste zoom-prompts.
| Bewerking | Wat indienen |
|---|---|
| Vary (Region) / Inpaint | maskBase64 (PNG-masker) + prompt |
| Custom Zoom | prompt (bijv. “your prompt —zoom 2”) |
Bearer token authentication. Use your CometAPI key.
Task id from the parent task whose modal action you are continuing.
Base64-encoded mask image for partial inpainting. White areas are repainted; black areas are preserved.
Text prompt describing the desired change for the selected region.
curl --request POST \
--url https://api.cometapi.com/mj/submit/modal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"taskId": "14001934816969359"
}
'{
"code": 123,
"description": "<string>",
"properties": {},
"result": 123
}