Skip to main content
POST
Midjourney Text-to-Image
Generate high-quality images from text descriptions using the Midjourney image generation model. This API uses async processing; the client needs to use the task_id to query the final result.

Request Headers

string
required
Enum: application/json
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

string
required
Text information describing the desired image content.Length limit: 1-8192 characters.

Response

string
required
The task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.