Reframe Aspect Ratio
reframeChange a source video's aspect ratio to 16:9, 9:16, 1:1, or 4:5 by padding to preserve the full frame or cropping to fill the target.
Instructions
Re-aspect a video to 16:9, 9:16, 1:1, or 4:5 by padding or cropping.
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": "<input>",
"aspect": "<aspect>"
},
"name": "reframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | pad (default): letterbox, nothing lost. crop: fill and center-crop. | |
| input | Yes | Path to the source video. | |
| aspect | Yes | Target aspect ratio. | |
| output | No | Optional output path. Defaults under SCREENCAST_HOME/edits. | |
| overwrite | No | Allow replacing an existing file at the output path (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | Yes | Path of the file written. |