Skip to main content
POST
/
check-midjourney-status
cURL
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."
}

Authorizations

x-api-key
string
header
required

Body

application/json

Task ID to check status for

task_id
string
required

The unique identifier for the Midjourney generation task.

Example:

"1744449927914205"

Response

Midjourney task status response

status
enum<string>
required

The current status of the Midjourney task.

Available options:
SUCCESS,
FAILED,
PENDING,
RUNNING,
IN_PROGRESS,
submitted,
NOT_START,
unknown
Example:

"SUCCESS"

task_id
string
required

The unique identifier for the Midjourney generation task.

Example:

"1744449927914205"

progress
string | null

Optional progress indicator (e.g., "0%")

Example:

"50%"

imageUrl
string<uri> | null

The URL of the generated image (present on SUCCESS).

Example:

"https://image-url.com/generated_image.png"

failReason
string | null

The reason for failure (present on FAILED).

Example:

"Content moderation filter triggered."

I