Skip to main content
POST
/
v3
/
async
/
image-upscaler
Image Upscaler
curl --request POST \
  --url https://api.myrouter.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 async API that only returns the async task_id. Use the task_id to call the Get Async Task Result API to retrieve the upscaled image result.
This is an async API that only returns the task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.

Request Headers

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

Request Body

image
string
required
URL of the original image to upscale.
resolution
string
default:"4k"
Target resolution after upscaling.Possible values: 2k, 4k, 8k
output_format
string
default:"jpeg"
Output image format.Possible values: jpeg, png, webp

Response

task_id
string
required
Use the task_id to call the Get Async Task Result API to retrieve the generated output.