Request
Provide your bearer token in the Authorization header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Example:Bearer {{YOUR_API_KEY}}
Body Params application/json
Allowed values:MID_JOURNEYNIJI_JOURNEY
Callback url, use global notifyHook when empty
{
"botType": "MID_JOURNEY",
"base64": "data:image/png;base64,xxx"
}
Request samples
curl --location -g --request POST '{{BASE_URL}}/mj/submit/describe' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"botType": "MID_JOURNEY",
"base64": "data:image/png;base64,xxx"
}'
Responses
application/json status: 1(success), 21(exist), 22(queue up), other(error)
{
"code": 1,
"description": "success",
"properties": {},
"result": 1320098173412546
}
Modified at 2025-03-30 04:16:42