Gunakan CometAPI POST /mj/submit/describe untuk mengekstrak prompt Midjourney awal dari gambar yang diunggah agar remix dan iterasi lebih cepat.
curl --request POST \
--url https://api.cometapi.com/mj/submit/describe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base64": "data:image/png;base64,xxx"
}
'{
"code": 123,
"description": "<string>",
"properties": {},
"result": 123
}Kirim gambar
Poll task describe
Gunakan kembali prompt yang dihasilkan
Bearer token authentication. Use your CometAPI key.
Base64-encoded image to describe. Use a data URI such as data:image/png;base64,xxx. Provide either base64 or link.
URL of the image to describe. Provide either link or base64.
Bot type to use. MID_JOURNEY for Midjourney (default), NIJI_JOURNEY for Niji.
NIJI_JOURNEY, MID_JOURNEY Custom state string. Returned as-is in the task result and webhook callback for your own tracking.
curl --request POST \
--url https://api.cometapi.com/mj/submit/describe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base64": "data:image/png;base64,xxx"
}
'{
"code": 123,
"description": "<string>",
"properties": {},
"result": 123
}