Midjourney Task Submission
Midjourney
Midjourney Task Submission
Submit Midjourney imagine, blend, modal, describe, shorten, swap face, video, and Discord image upload tasks.
POST
Midjourney Task Submission
Midjourney Task Submission
The Midjourney submission interfaces all belong to the/mj/submit/* group. Different actions use different paths, but the success response style is basically the same.
Common Response
integer
Status code. Common values:
1 submission successful, 22 queued, 23 queue full, 24 prompt may contain sensitive words.string
Status description.
string | array<string>
Task ID. The upload Discord image interface returns an array of image URLs.
Authentication
Submit Imagine Task
Imagine action and submit an image generation task.
string
required
Invocation mode, common values are
RELAX and FAST.string
required
Prompt.
array<string>
Base64 array for image references.
string
Custom parameter.
string
Callback URL.
Submit Blend Task
Blend action and submit an image blending task.
string
required
Invocation mode, common values are
RELAX and FAST.array<string>
required
Image Base64 array.
string
Ratio. Common values:
PORTRAIT, SQUARE, LANDSCAPE.string
Bot type, common values:
mj, niji.string
Callback URL.
string
Custom parameter.
Submit Modal Task
code = 21 or require additional prompt input, you can call this interface to continue submitting.
string
required
Original task ID.
string
Base64 for the partial redraw mask.
string
New prompt.
Submit Describe Task
Describe action and submit an image-to-text task.
Submit Shorten Task
Shorten action.
Submit SwapFace Task
SwapFace face-swapping task.
The current project code actually parses it in JSON Base64 format:
Submit Video Task
- Generate a video directly based on
prompt - Continue generating a video based on an existing
taskId
string
required
Invocation mode, common values are
RELAX and FAST.string
Parent task ID. Used when extending a video based on an existing image.
integer
Video index number.
string
Motion intensity, common values:
low, high.string
Video task action. In examples, the common value is
extend.