Upscale a video
upscale_videoUpscale a video. Pass a public URL or a URL from create_upload. model auto probes the clip and picks the model, factor and settings itself (the faithful pick of recommend_upscale; set intent to detail for the other one). With a chosen model, durationSeconds, width and height are the source clip's real values (read them with ffprobe or from the file); the price is computed from them and checked when the job runs, so wrong values fail the job with a refund. Models:
ltx-2-5: Upscale a video with LTX 2.5. 2 credits per output megapixel-second, plus 0.01 per second for each fps of a target above 24. Required: videoUrl, upscaleFactor, durationSeconds, width, height.
relay-vsr: Upscale a video with RelayVSR. 0.5 credits per output megapixel-second, plus 0.01 per second for each fps of a target above 24. Required: videoUrl, upscaleFactor, durationSeconds, width, height.
seed-vr-2: Upscale a video with SeedVR 2. 2.5 credits per output megapixel-second, plus 0.01 per second for each fps of a target above 24. Required: videoUrl, upscaleFactor, durationSeconds, width, height.
rtx-vsr: Upscale a video with RTX VSR. 0.1 credits per output megapixel-second, plus 0.01 per second for each fps of a target above 24. Required: videoUrl, upscaleFactor, durationSeconds, width, height.
gan: Upscale a video with GAN. 0.2 credits per output megapixel-second, plus 0.01 per second for each fps of a target above 24. Required: videoUrl, upscaleFactor, durationSeconds, width, height. Charges credits from the connected Upsampler account; a failed job is refunded automatically. Result URLs expire after 3 hours (get_job reissues fresh ones) and jobs are deleted after 7 days.
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": {
"model": "<model>",
"videoUrl": "<videoUrl>"
},
"name": "upscale_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Target output frame rate, reached by frame interpolation. Omit to keep the source rate. Allowed values: 30, 48, 50, 60. Each frame per second above 24 adds 0.01 credits per second of video, priced from the target alone: a target at or below the source rate changes nothing but is still charged, so omit fps then. | |
| wait | No | Wait up to about 50 seconds for the result before returning (default true). If the job is still running, call get_job with the returned id. | |
| model | Yes | Which video upscaling model to run, or auto to let Upsampler pick from the clip. | |
| width | No | Width of the source video in pixels. Required unless model is auto. | |
| height | No | Height of the source video in pixels. Required unless model is auto. | |
| intent | No | Only with model auto: faithful (default) keeps the footage as it is, detail lets the model rebuild fine detail. | |
| videoUrl | Yes | Publicly accessible URL of the video to upscale. Must be an http(s) URL. Keep the file reachable and unchanged until the job completes; a file that changes after submission fails the job with a refund. | |
| creativity | No | How far the model may redraw detail rather than reconstruct it. Omit for the model's default. Integer 0-10, default 5. Higher invents more fine detail, which can change faces and text. Does not affect the price. Used by: ltx-2-5. | |
| upscaleFactor | No | Factor by which to upscale each frame. Number, 1-4. Output frames must not exceed 4,200,000 pixels. Required unless model is auto. | |
| durationSeconds | No | Length of the clip in seconds, used to price the job. The real clip is probed at dispatch and a job whose charge understates it is failed and fully refunded. Required unless model is auto. |