---
title: "Upscale Video"
method: POST
path: "/media/upscale-video"
tags: ["media"]
---

# Upscale Video

`POST /media/upscale-video`

## Request

- Base URL: `https://api.moda.app/v1`
- URL: `https://api.moda.app/v1/media/upscale-video`
- Auth: HTTP bearer

Deterministic video super-resolution to a target resolution (metered; long-running).

One video in, a higher-resolution new file out — the input is never
modified and the result records it as its lineage parent. No prompt and no
model choice: the serving engine is a Moda-side table entry. Inputs longer
than the per-upscale duration cap, already at/above the target, or above
the per-upscale cost ceiling are rejected before anything is paid for.

Like ``generate-video``, the provider render runs within this call (can
take minutes). The response's ``applied`` block reports the delivered
resolution; ``adjustments`` lists any snap away from the exact ask.

## Headers

- `Moda-Version` '2026-04-12' | '2026-05-01'

## Request body

- UpscaleVideoRequest
  - `video` string, required: The video to upscale: a file_ id from an upload or an http(s) video URL.
  - `target_resolution` string: One of 720p, 1080p, 1440p, 2160p. Pick the smallest that meets the need — cost scales with it.
  - `idempotency_key` string, nullable: Keys the provider-job checkpoint: a retried call with the same key resumes the existing upscale instead of paying for a duplicate.

## Response `200`

Successful Response

- object

## Other responses

- `401`: Authentication required.
- `402`: Insufficient credits for a metered operation.
- `403`: Permission denied for this scope.
- `404`: Resource not found.
- `409`: Conflict (idempotency / resource state).
- `422`: Request validation failed.
- `429`: Rate limit exceeded.
- `500`: Internal error.

## Changes

- **2026-11-03** `9ac6a3abc0f8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/moda/apis/moda-public-api/changes/media/upscale-video/post.md)

---

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