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.
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) | |
| 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. |