Skip to main content
GET
Midjourney Task Query

Midjourney Task Query

The Midjourney query API is used to poll task progress, retrieve final image information, and read task buttons and seed.
  • Single task queries use GET /mj/task/{id}/fetch
  • Batch queries use POST /mj/task/list-by-condition
  • Image seed queries use GET /mj/task/{id}/image-seed

Query a Single Task

Response Fields

string
Task ID.
string
Task action. Common values include IMAGINE, UPSCALE, VARIATION, ZOOM, PAN, DESCRIBE, BLEND, SHORTEN, SWAP_FACE.
string
Original prompt.
string
English prompt.
string
Task description.
integer
Submission time.
integer
Start execution time.
integer
End time.
string
Primary image URL.
string
Video URL.
string
Task status. Common values are NOT_START, SUBMITTED, MODAL, IN_PROGRESS, FAILURE, SUCCESS, CANCEL.
string
Task progress, for example 0%, 65%, 100%.
string
Reason for failure.
array<object> | null
Array of action buttons that can still be triggered below the image.
string
Custom parameter.
array<object> | array<string>
Image list.

Response Example

Query Tasks in Batch

The return value is an array of task objects, and the fields are basically the same as those in the single task query.

Get Task Image Seed

Get Public Image

This endpoint proxies the task image and is suitable for directly downloading the final image: