Skip to main content
GET
Fetch (query task)
Get a Midjourney task’s current status, progress and result-image link.

Request

Response

status values

buttons

After a Midjourney task completes, the clickable Discord buttons (U1-U4, V1-V4, 🔄) are returned as a buttons array. To perform a button’s action, use change + customId.

Batch query

Returns an array of task objects to reduce the number of polling requests.

Callback vs. polling

  • Callback (notifyHook): OpenPAI proactively POSTs to your service when the task status changes — recommended for production.
  • Polling (fetch): simple but with latency, suited to local scripts.
Example callback request (POST to notifyHook):