---
title: "Upscale an image"
method: POST
path: "/ai/upscale-image"
tags: ["AI"]
---

# Upscale an image

`POST /ai/upscale-image`

## Request

- Base URL: `https://api.rendley.com/v1`
- URL: `https://api.rendley.com/v1/ai/upscale-image`
- Auth: API key in header `Authorization`

Enqueue a job to upscale an existing image to higher resolution using AI super-resolution.
The params object is model-specific — fetch its JSON Schema from GET /v1/ai/models/{model_id}. model_id is optional and falls back to this action's default model.

## Request body

- AiManagerTypesUpscaleImageDTO
  - `clip_id` string
  - `file_url` string
  - `model_id` string
  - `params` object: Params is model-specific: its accepted fields are defined by the model in model_id, not by this endpoint. Fetch the JSON Schema for a model from GET /v1/ai/models/{model_id} — it is generated from the runtime validator and is the source of truth. GET /v1/ai/models lists the model ids.
  - `project_id` string
  - `workspace_id` string

## Response `200`

OK

- object
  - `data` object: Success data
    - `job_id` string, uuid
  - `error` HttpResponseAPIError
    - `code` string
    - `fields` HttpResponseFieldError[]
      - `field` string
      - `message` string
    - `message` string
  - `meta` unknown

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required

---

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