v1

latestOpenAPI 3.1.02026-07-267724480.0 KB

Describe (image -> text)

. The extracted prompt suggestions arrive in the task's promptEn field when you fetch the finished task.

post/mj/submit/describe

Request body

botType'NIJI_JOURNEY' | 'MID_JOURNEY'

Bot type to use. MID_JOURNEY for Midjourney (default), NIJI_JOURNEY for Niji.

base64string required

Base64-encoded image to describe. Use a data URI such as data:image/png;base64,xxx. Provide either base64 or link.

statestring

Custom state string. Returned as-is in the task result and webhook callback for your own tracking.

linkstring required

URL of the image to describe. Provide either link or base64.

Response

Success

codeinteger required

Submission status code. 1 = submitted successfully (result carries the task id). 21 = the action opened a confirmation modal; continue with /mj/submit/modal using the returned task id. 4 = parameter error; description explains the cause.

descriptionstring required
propertiesobject required
resultinteger required