Skip to content

Midjourney action task ​

Midjourney action tasks include upscale, variations, blend, describe, Modal, prompt shortening and video. Consult the API Reference for each action's parameters.

Route List ​

MethodologyPathPurpose
POST/mj/submit/actionSubmits action task.
POST/mj/submit/blendSubmits a mixed figure task.
POST/mj/submit/describeSubmit description task.
POST/mj/submit/modalSubmit Modal task.
POST/mj/submit/shortenSubmit a prompt-shortening task.
POST/mj/submit/videoSubmit video task.

Returns by ​

Action category API returns the task submission result. After submission, Midjourney Task Query continues to be used to obtain status, progress, results pictures and action that can be continued.

Blend Example ​

bash
curl https://moonnexai.com/mj/submit/blend \
  -H "Authorization: Bearer <MOONNEXAI_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "base64Array": [
      "data:image/png;base64,xxx"
    ],
    "dimensions": "SQUARE",
    "notifyHook": "https://example.com/moonnexai/webhook"
  }'

Access Recommendations ​

  • Action task usually relies on existing task or pictures. Save source task ID.
  • Response fields vary by action. Render the result returned by the task-query API.
  • callback and the Quick Query will be processed, etc., to avoid repeating the same task results.

Relevant Pages ​