---
title: "Upscale"
method: POST
path: "/upscale"
tags: ["generate"]
---

# Upscale

`POST /upscale`

Upscale an image by increasing its resolution.

## Response `200`

Successful Response

- ImageResponse — Response model for image generation.
  - `images` Media[], required — The generated images.
    - `url` string, required — The URL where the media can be accessed.
    - `seed` integer, required — The seed used to generate the media.
    - `nsfw` boolean, required — Whether the media was flagged as NSFW.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Validation Error
- `500` — Internal Server Error

## Changes

- **2025-01-14** `0579502149da` — 6 breaking, 3 info
  - the `detail` response's property type/format changed from `object`/`` to ``/`` for status `400`
  - the `detail` response's property type/format changed from `object`/`` to ``/`` for status `401`
  - the `detail` response's property type/format changed from `object`/`` to ``/`` for status `500`
  - removed the required property `detail/msg` from the response with the `400` status
  - …5 more
- **2025-01-14** `e0203b5e3aff` — 3 breaking, 6 info
  - the `detail` response's property type/format changed from ``/`` to `object`/`` for status `400`
  - the `detail` response's property type/format changed from ``/`` to `object`/`` for status `401`
  - the `detail` response's property type/format changed from ``/`` to `object`/`` for status `500`
  - removed `#/components/schemas/APIError` from the `detail` response property `allOf` list for the response status `400`
  - …5 more
- **2024-12-26** `494e040533b4` — 6 breaking, 3 info
  - the `detail` response's property type/format changed from `object`/`` to ``/`` for status `400`
  - the `detail` response's property type/format changed from `object`/`` to ``/`` for status `401`
  - the `detail` response's property type/format changed from `object`/`` to ``/`` for status `500`
  - removed the required property `detail/msg` from the response with the `400` status
  - …5 more
- …earlier changes not shown

[Full history](https://skmtc.dev/livepeer/apis/livepeer-ai-runner/changes/upscale/post.md)

---

[API](https://skmtc.dev/livepeer/apis/livepeer-ai-runner.md) · [All operations](https://skmtc.dev/livepeer/apis/livepeer-ai-runner/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/livepeer/livepeer-ai-runner/revisions/dc00a184f691/schema)
