Skip to main content
POST
/
v3
/
async
/
image-upscaler
Image Upscaling
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/image-upscaler \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "image": "<string>",
  "resolution": "<string>",
  "output_format": "<string>"
}
'
{
  "task_id": "<string>"
}
This is an asynchronous API that only returns an asynchronous task_id. You need to use the task_id to call the task result query API to obtain the image upscaling result.
This is an asynchronous API and will only return the task_id of the asynchronous task. You should use this task_id to request the Query Task Result API to retrieve the generated result.

Request Headers

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

Request Body

image
string
required
The URL of the original image to be upscaled.
resolution
string
default:"4k"
The target resolution after upscaling.Optional values: 2k, 4k, 8k
output_format
string
default:"jpeg"
The format of the output image.Optional values: jpeg, png, webp

Response Information

task_id
string
required
Use the task_id to request the Query Task Result API to retrieve the generated output.