Video Upscale Price
video_upscale_priceCalculate price for video upscaling.
Pass the video itself, or its width, height and duration.
Available models:
FlashVSR_Tiny: input size=128-1344x128-1344, ≤1.03Mpx, side≤1344, video≤11s, scale=2-4xRealESRGAN_Vid_x2: input size=128-1344x128-1344, ≤1.03Mpx, side≤1344, video≤20sRealESRGAN_Vid_x4: input size=128-1344x128-1344, ≤1.03Mpx, side≤1344, video≤15s
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>"
},
"name": "video_upscale_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Video upscaling model name | |
| scale | No | Upscale factor, only for models with a 'scale' range in the model list (FlashVSR_Tiny: 2-4). Unset, those models use their smallest factor. Models without a range have a fixed factor (e.g. RealESRGAN_Vid_x4) and refuse this field | |
| video | No | Video to quote (URL, data URI or base64); its size and length are read from it. Or pass width, height and duration instead | |
| width | No | Video width in pixels. Provide width+height to estimate without uploading a file. | |
| height | No | Video height in pixels. Provide width+height to estimate without uploading a file. | |
| duration | No | Video length in seconds; the price is linear in frames. Required unless video is given |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||