---
title: "Upscale an image"
method: POST
path: "/images/{imageId}/upscale"
---

# Upscale an image

`POST /images/{imageId}/upscale`

## Request

- Base URL: `https://app.visoid.com/api/v1`
- URL: `https://app.visoid.com/api/v1/images/{imageId}/upscale`
- Auth: none declared

### Costs of upscaling an image
| Quality | Cost (credits) |
|---------|----------------|
| 2K      | 5              |
| 4K      | 10              |

## Path parameters

- `imageId` string, uuid, required

## Request body

- UpscaleBody
  - `callbackUrl` string, uri: URL called when task is finished. Endpoint will be called using **POST** method with a body containing: - `imageId` the upscaled image - `sourceImageId` the original image which was upscaled - `status` the state of the operation, could be `completed` or `failed`
  - `quality` '2K' | '4K'
  - `name` string

## Response `202`

Upscaling task started

- object: ID of the created image
  - `id` string, uuid

## Other responses

- `404`: No image corresponding to the imageId

---

[API](https://skmtc.dev/visoid/apis/visoid-public-api.md) - [All operations](https://skmtc.dev/visoid/apis/visoid-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/visoid/apis/visoid-public-api/revisions/e75f7f5507e0?raw)
