Skip to main content
POST
/
v3
/
async
/
mj-upscale
Midjourney Upscale
curl --request POST \
  --url https://api.myrouter.ai/v3/async/mj-upscale \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "image_no": 123,
  "task_id": "<string>",
  "type": 123
}
'
{
  "task_id": "<string>"
}
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

Content-Type
string
required
Enum: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

image_no
integer
required
Image number, specifying which image to upscale.Range: 0~3
task_id
string
required
The unique identifier of the original image generation task.
type
integer
required
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

Response

task_id
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.