Skip to main content
POST
/
v3
/
async
/
mj-upscale
Midjourney Upscale
curl --request POST \
  --url https://api.highwayapi.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 upscale generated images, improving image resolution and detail quality. This API uses asynchronous processing, and the client needs to query the final generated result using the task_id.

Request Headers

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

Request Body

image_no
integer
required
Image number, used to specify the image to upscale.Value range: 0~3
task_id
string
required
The unique identifier of the original image generation task.
type
integer
required
Upscale type, which controls the style of the upscaling process.Value range: 0~1
  • 0: v6/niji6/v6.1/v7 subtle upscale
  • 1: v6/niji6/v6.1/v7 creative upscale

Response Parameters

task_id
string
required
The task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to obtain the generated result.