scale_video
Upscale video resolution to 1080p, 2K, or 4K while maintaining aspect ratio and color accuracy using FFmpeg processing.
Instructions
Upscales a video to 1080p, 2K, or 4K using FFmpeg while preserving aspect ratio and color accuracy.
Args: input_video_path (str): Path to the input video file. resolution (str, optional): Target resolution for upscaling. Acceptable values are '1080p', '2k', or '4k'. Defaults to '1080p'.
Returns: str: Path to the upscaled video if successful.
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": {
"input_video_path": "<input_video_path>"
},
"name": "scale_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_video_path | Yes | ||
| resolution | No | 1080p |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |