> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jiekou.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 generated images, creating variant images in different styles. This API uses asynchronous processing, so the client needs to query the final generation result using the task\_id.

## Request Headers

<ParamField header="Content-Type" type="string" required={true}>
  Enum value: `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, used to specify the image to vary.

  Value 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 used to guide the direction of the image variation.

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

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

  Value range: 0\~1

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

## Response Parameters

<ResponseField name="task_id" type="string" required={true}>
  The task\_id of the asynchronous task. You should use this task\_id to request the [Get Task Result API](/en/docs/models/reference-get-async-task-result) to obtain the generation result.
</ResponseField>
