Resize a video
resize_videoChanges the aspect ratio and/or resolution of a video, fitting (with bars), filling (cropping) or stretching.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "resize_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | fit = keep everything with bars; fill = crop to fill; stretch = distort | fit |
| ratio | No | Target aspect ratio | original |
| source_id | No | Instead of video_url: an upload_id returned by create_upload_link, or the job_id of a finished Klipa job to chain on its result. Empty when video_url is set. | |
| video_url | No | Public link to a video the user owns or is allowed to edit. Direct file links are not supported (files go through create_upload_link). Empty when source_id is set. | |
| resolution | No | Output resolution | 720p |