Video Upscaler API: AI Clips to 1080p or 2K
A video upscaler API that takes a clip to 1080p or 2K with the same motion, frame rate and sound: limits, the request body and per-second billing.
Updated 4 min read
A video upscaler API takes a clip and sends it back larger and sharper. On Frameport that is Frameport Upscale 1, our own clip editor: one request to POST /v1/videos/edits returns your clip at 1080p or 2K with the same motion, frame rate and sound, from $0.03 per second of clip, charged only if it succeeds.
This page covers what upscaling changes, a first upscale in curl, Python and Node, which resolution to pick, the limits a clip must meet, a generate-then-upscale pipeline, and the cost.
What upscaling changes and what it keeps
| Changes | The resolution, to 1080p or 2K, with sharper detail |
| Keeps | The motion, the frame rate and the sound of the clip |
| Takes | The clip and the resolution: no prompt, no faces, no other settings |
| Clips | 1 to 30 seconds (5 s billed at least), MP4 or MOV |
| Price | $0.03 per second at 1080p, $0.05 at 2K |
It is made for clips you already have: a clip rendered at 480p or 720p, a swap from Frameport Replace 1, or your own footage. It takes no prompt: the only choice is the resolution.
Your first video upscaler API request
Send the clip as a public https URL, a video upload (upl_…) or the file_… id of one of your own video outputs, and the resolution you want:
# 1. Submit
curl https://frameport.ai/v1/videos/edits \
-H "Authorization: Bearer $FRAMEPORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "fp-upscale-1",
"video": "https://example.com/clip.mp4",
"resolution": "2K"
}'
# 2. Poll until "status" is "succeeded", then download outputs[0].url
curl https://frameport.ai/v1/videos/edits/$GENERATION_ID \
-H "Authorization: Bearer $FRAMEPORT_API_KEY"{
"id": "gen_6Pq3WnT8vXc1Lm5Rk9YbZs",
"object": "generation",
"type": "video",
"model": "fp-upscale-1",
"status": "queued",
"input": {
"video": "url",
"resolution": "2K",
"duration": 10
},
"reserved_usd": 0.5,
"cost_usd": null,
"outputs": [{ "id": "file_3Vb8KqW2nTx7Lc5Rm1YdPs", "status": "queued" }],
"error": null,
"created_at": "2026-11-28T10:00:00.000Z",
"completed_at": null
}When the 202 comes back, the clip has been measured: duration is the seconds it bills and reserved_usd its price. Without resolution, the clip goes to 1080p. A field the upscaler does not take, such as faces or prompt, is refused with 400 invalid_request before anything is fetched or held.
1080p or 2K: which to pick
- 1080p is the usual delivery size for web and social video, and the cheaper of the two at $0.03 per second.
- 2K gives more pixels for large screens, and room to crop or reframe in an editor, at $0.05 per second.
- Already big enough? A clip already at the resolution you ask for, or sharper, is refused with
400 invalid_video("this clip is already 1080p or sharper"), and nothing is charged. Ask for 2K instead, or keep the clip as it is.
Clip limits and formats
| Frameport Upscale 1 | |
|---|---|
| Length | 1 to 30 seconds (5 s billed at least) |
| File | MP4 or MOV, up to 100 MB |
| Frames | 900 at most: 30 seconds at 30 fps, 15 seconds at 60 fps |
| Where it comes from | A public https URL, a video upload (upl_…) or one of your video outputs (file_…) |
| Sound | Kept from the clip |
A URL must be https on a public host name, with no IP address, no credentials and no private or local host. A clip off these limits, or one whose frames cannot be read, is refused with 400 invalid_video when you send it, and the message says what to fix. Nothing is charged. Files from your disk go up through uploads first.
Upscale after generation: a two-step pipeline
Video models that offer several resolutions cost less per second at the lower ones, and some stop below 1080p: Seedance 2.5 goes up to 720p. Render the clip at a lower resolution, then upscale its output by its file id, with nothing to download in between:
import os
import time
import requests
API = "https://frameport.ai/v1"
headers = {"Authorization": f"Bearer {os.environ['FRAMEPORT_API_KEY']}"}
def wait(gen, path):
if "error" in gen and "status" not in gen:
raise SystemExit(f"{gen['error']['code']}: {gen['error']['message']}")
while gen["status"] in ("queued", "running"):
time.sleep(5)
gen = requests.get(f"{API}/{path}/{gen['id']}", headers=headers).json()
if gen["status"] == "failed":
raise SystemExit(gen["error"]["message"]) # nothing was charged
return gen
clip = requests.post(f"{API}/videos/generations", headers=headers, json={
"model": "seedance-2-5",
"prompt": "A lighthouse on a cliff at dusk, waves breaking below, slow aerial orbit",
"duration": 10,
"resolution": "720p",
}).json()
clip = wait(clip, "videos/generations")
big = requests.post(f"{API}/videos/edits", headers=headers, json={
"model": "fp-upscale-1",
"video": clip["outputs"][0]["id"], # the file id: no download needed
"resolution": "1080p",
}).json()
big = wait(big, "videos/edits")
print(big["outputs"][0]["url"])What the two steps cost against rendering at 1080p directly, for a 10-second clip on Seedance 2.0, which offers both sizes:
| Step | Price |
|---|---|
| Seedance 2.0 at 720p | $1.75 |
| Upscale to 1080p | $0.30 |
| Seedance 2.0 at 1080p, in one step | $4.35 |
The picture is not the same either way: a clip rendered at 1080p is drawn at that size, an upscaled one is the 720p take made sharper. Upscaling pays off most when you render several drafts, keep one, and upscale only that one. The guide to upscaling AI video goes through when to do which.
What an upscale costs
An upscale costs the clip's seconds times the rate at the resolution you ask for. Seconds are whole and rounded up, with 0.15 s of grace, and a clip under 5 seconds is billed 5.
| Clip | 1080p | 2K |
|---|---|---|
| 3 s | $0.15 | $0.25 |
| 10 s | $0.30 | $0.50 |
| 30 s | $0.90 | $1.50 |
When you submit, the price of the longest clip it takes, 30 seconds, is held first; once the clip is measured, the hold comes down to your clip's price. It is charged when the upscale succeeds, and a failed upscale gives it all back. To know the price first, quote it with the clip's length, {"model": "fp-upscale-1", "resolution": "2K", "seconds": 10}:
{
"object": "quote",
"model": "fp-upscale-1",
"type": "video",
"mode": "edit",
"price_usd": 0.5,
"reserved_usd": 1.5,
"breakdown": "10 s at 2K × $0.05/s",
"available_usd": 42.5,
"enough_balance": true
}max_cost_usd on an edit caps the hold, which is the price of the longest clip.
Choosing an upscaler? The best video upscaler API lays out what to check.
The rates per second are in video upscaling API pricing, and what each size means in AI video resolution explained.
FAQ
Is there a free video upscaler API?
The account, the key and quotes are free, and an upscale that fails costs nothing. Upscales are paid from a prepaid balance, topped up from $10, with no subscription. You can also try Frameport Upscale 1 by hand before writing code.
How much does it cost to upscale a video by API?
$0.03 per second at 1080p and $0.05 at 2K, so a 10-second clip costs $0.30 at 1080p and $0.50 at 2K. A clip under 5 seconds is billed 5.
Can the API upscale a video to 4K?
Frameport Upscale 1 goes up to 2K. For a 4K clip, render it at that size on a model that offers it, such as Veo 3.1 or Seedance 2.0.
Does upscaling change the motion or the sound?
No. The clip keeps its motion, its frame rate and its sound; the resolution and the detail are what change. The upscaler takes no prompt, so there is nothing to describe: you pick the resolution only.
How do I upscale a video from Python?
Send POST /v1/videos/edits with "model": "fp-upscale-1", the clip in video and the resolution, then poll GET /v1/videos/edits/{id} until it succeeds, as in the Python tab above. A clip you generated on Frameport goes in by its file id.