cURL
Midjourney
submit-jobs
Use the Midjourney Imagine API to generate images from prompts
POST
cURL
Authorizations
You can obtain your API key from the Midjourney-api Dashboard.
Body
application/json
Prompt
Example:
"a boy play with a girl --niji 7"
Speed mode,default fast
Available options:
relaxed, fast Example:
"fast"
Callback notification URL
Example:
"https://api.example.com/webhook"
Task timeout unit: seconds, range 300 - 1200, default 600
Example:
600