Upscale a video
upscale_videoStart upscaling a video to 1080p, 2k or 4k. Charges credits for the whole video (its length is read from the file) and returns the task. Downloading a large video can take a few minutes. If this call times out or fails, first call list_tasks to see whether the task was created, and retry only with the SAME idempotency_key: a new key charges again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video_url": "<video_url>",
"resolution": "<resolution>",
"idempotency_key": "<idempotency_key>"
},
"name": "upscale_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | No | Optional enhancement options (deinterlace, stabilize, denoise 0-3, deflicker, fpsMultiplier 2/4/8 with slowMotion, faceRestore, hdr hdr10/hlg, engine anime). faceRestore and fpsMultiplier each double the credits per second; fpsMultiplier is rejected (and refunded) for sources at 50 fps or more unless slowMotion is on | |
| video_url | Yes | Public http(s) URL of the video (MP4, MOV or WebM, up to 500MB; up to 1200 seconds at 1080p, 600 seconds at 2k and 4k), or the video_url returned by create_upload | |
| resolution | Yes | Target resolution | |
| webhook_url | No | Optional public https:// URL to receive a POST webhook when the task completes or fails | |
| idempotency_key | Yes | A unique string for this request, e.g. a UUID (printable ASCII, no spaces). Reuse it when retrying the same request. |