curl --request POST \
--url https://nano-gpt.com/api/check-midjourney-status \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"task_id": "1744449927914205"
}'
{
"status": "SUCCESS",
"task_id": "1744449927914205",
"progress": "50%",
"imageUrl": "https://image-url.com/generated_image.png",
"failReason": "Content moderation filter triggered."
}
curl --request POST \
--url https://nano-gpt.com/api/check-midjourney-status \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"task_id": "1744449927914205"
}'
{
"status": "SUCCESS",
"task_id": "1744449927914205",
"progress": "50%",
"imageUrl": "https://image-url.com/generated_image.png",
"failReason": "Content moderation filter triggered."
}
Task ID to check status for
The body is of type object
.
Midjourney task status response
The response is of type object
.