> ## 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 Upscale

Use the Midjourney Upscale feature to enhance a previously generated image, improving its resolution and detail quality. 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 upscale.

  Range: 0\~3
</ParamField>

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

<ParamField body="type" type="integer" required={true}>
  Upscale type, controlling the upscale processing style.

  Range: 0\~1

  * `0`: v6/niji6/v6.1/v7 subtle upscale
  * `1`: v6/niji6/v6.1/v7 creative upscale
</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>
