> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myrouter.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 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

<ParamField header="Content-Type" type="string" required={true}>
  Enum: `application/json`
</ParamField>

<ParamField header="Authorization" type="string" required={true}>
  Bearer authentication format: Bearer \{\{API Key}}.
</ParamField>

## Request Body

<ParamField body="image_no" type="integer" required={true}>
  Image number, specifying which image to apply variation to.

  Range: 0\~3
</ParamField>

<ParamField body="task_id" type="string" required={true}>
  The unique identifier of the original image generation task.
</ParamField>

<ParamField body="remix_prompt" type="string" required={false}>
  A new prompt to guide the direction of the image variation.

  Length limit: 1-8192 characters.
</ParamField>

<ParamField body="type" type="integer" required={true}>
  Variation type, controlling the intensity of the variation.

  Range: 0\~1

  * `0`: subtle variation
  * `1`: strong variation
</ParamField>

## Response

<ResponseField name="task_id" type="string" required={true}>
  The task\_id of the async task. Use the task\_id to call the [Get Async Task Result API](/docs/models/reference-get-async-task-result) to retrieve the generated result.
</ResponseField>
