FlashVSR Video Upscale API
FlashVSR video super-resolution: a low-resolution clip in, 720p / 1080p / 2K / 4K out — restore old footage, clean up low-bitrate video, or lift AI-generated clips to a resolution you can cut with. Billing is per second of the SOURCE clip, not the output, so the cost is fixed the moment you submit: a 30-second clip to 1080p is $0.90, every time. Async create-then-poll; failed tasks are never billed.
Authentication
Authorization: Bearer YOUR_API_KEYModel & pricing
⚠️ Every tier is priced per second of the INPUT video, not the output. For one 30-second source, the only thing that changes between 4K and 720p is the rate.
| resolution | Rate | 30s source | Notes |
|---|---|---|---|
| 720p | $0.02 / source second | $0.60 | Social and preview cuts |
| 1080p | $0.03 / source second | $0.90 | Default tier |
| 2k | $0.035 / source second | $1.05 | Editing master |
| 4k | $0.06 / source second | $1.80 | Large screen and delivery |
model = flashvsr
Code examples
# ─── Upscale a video (FlashVSR) ───────────────────────────
curl -X POST https://api.apimodels.app/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flashvsr",
"video_url": "https://example.com/clip.mp4",
"resolution": "1080p"
}'
# Response (async — a task is created):
# { "code": 200, "msg": "success", "data": { "taskId": "clxxx", "state": "pending" } }
# ─── Poll for the upscaled clip ───────────────────────────
curl "https://api.apimodels.app/v1/video/generations?task_id=TASK_ID" \
-H "Authorization: Bearer YOUR_API_KEY"
# { "code": 200, "data": { "state": "completed",
# "resultUrls": ["https://r2.apimodels.app/videos/clxxx.mp4"] } }Request parameters
| Field | Required | Type | Description |
|---|---|---|---|
| model | Yes | string | flashvsr |
| video_url | Yes | string | URL of the clip to upscale. Must be an MP4 that is directly downloadable without login or an expiring signature. Aliases: videoUrl / video / url. |
| resolution | No | string | Target resolution: 720p / 1080p / 2k / 4k, default 1080p. Aliases: targetResolution / target_resolution. |
| callback_url | No | string | Webhook URL called when the task completes |
Notes and limits
- Input must be an MP4 at a public URL, at most 120 seconds and 500 MB per clip. Requests beyond that are rejected before we submit them upstream, rather than failing minutes later.
- A URL whose duration we cannot read is rejected with that reason: billing is per source second, so an unmeasurable clip cannot be priced — and a URL we cannot fetch is one the upstream probably cannot fetch either.
- The output keeps the source duration and frame rate and only raises the resolution. Measured: a 320x180, 4-second, 24fps source came back as 1280x720, 4 seconds, 24fps in 25.5 seconds.
- Async: create a task to get a taskId, then poll GET ?task_id=. Terminal states are completed or failed; the finished clip is in data.resultUrls.
- Failed tasks are never billed.
Try it in the Playground