Docs Submit task /mj/submit/describe
API reference

Submit Describe Task

Official docs: https://docs.midjourney.com/hc/en-us/articles/32497889043981-Describe Analyze an image and return four text descriptions (reverse prompts) for later imagine.

POST/mj/submit/describe

Body Parametersapplication/json

base64 string

Base64 image data used for the Describe task, in the format `data:image/png;base64,<data>`.

botType* string

Bot type, mj (default) or niji

notifyHook string

Callback URL; falls back to the global notifyHook when empty

state string

The quality of the image that will be generated. `hd` creates images with finer detail and greater consistency. This parameter only supports `dall-e-3`.

Responses

200 application/json
response-200 object
properties
created* integer

Creation time (Unix timestamp)

data* array

Data payload (often Base64 or a structured object)

400 Bad request or validation failed application/json
response-400 object
properties
error* object
401 Missing or invalid API Key application/json
response-401 object
Request Body Example Submit Describe task
1{
2"base64": "data:image/png;base64,iVBORw0KGgo...",
3"botType": "MID_JOURNEY",
4"notifyHook": "",
5"state": ""
6}
Code Sample cURL
1curl -X POST "https://api.digislash.com/mj/submit/describe" \
2-H "Authorization: Bearer <API Key>" \
3-H "Content-Type: application/json" \
4-d '{
5"base64": "data:image/png;base64,iVBORw0KGgo...",
6"botType": "MID_JOURNEY",
7"notifyHook": "",
8"state": ""
9}'
Response
1▼{
2"created": 1589478378,
3▼"data": [
4▶{ 1 keys },
5▶{ 1 keys }
6]
7}