Video Upscale Price
video_upscale_priceCalculate the price for upscaling a video using a chosen model, with input as the video itself or its width, height, and duration.
Instructions
Calculate price for video upscaling.
Pass the video itself, or its width, height and duration.
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 | |||