Midjourney Variation
Image
Midjourney Variation
POST
Midjourney Variation
Use the Midjourney Variation feature to apply subtle or strong transformations to a previously generated image, creating variant images in different styles. This API uses async processing; the client needs to use the task_id to query the final result.
Request Headers
string
required
Enum:
application/jsonstring
required
Bearer authentication format: Bearer {{API Key}}.
Request Body
integer
required
Image number, specifying which image to apply variation to.Range: 0~3
string
required
The unique identifier of the original image generation task.
string
A new prompt to guide the direction of the image variation.Length limit: 1-8192 characters.
integer
required
Variation type, controlling the intensity of the variation.Range: 0~1
0: subtle variation1: strong variation
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.