Resize video
resize_videoResize videos to a new resolution by specifying width, height, or a scale percentage. Omit one dimension to preserve the original aspect ratio.
Instructions
Scale a video to a new resolution. Give width and/or height in pixels (the missing one keeps aspect ratio), or a scale percentage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Target width in pixels | |
| height | No | Target height in pixels | |
| percent | No | Scale by percentage instead (e.g. 50 = half size) | |
| input_path | Yes | Path to the source video | |
| output_path | No | Where to write the result |