Resize, crop, rotate, speed
edit_videoReframe and adjust a video in one pass: change aspect ratio (for example 9:16 for Shorts and Reels) by cropping to fill or adding bars, downscale, rotate, flip, change speed (audio pitch is preserved), set frame rate, or remove the audio. Cost: 1 credit per minute of output. Long jobs return a job_id; poll it with get_job. Result links expire in 1 hour.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | Crop to fill the frame, or pad with black bars | crop |
| fps | No | Output frame rate | |
| url | Yes | Video: public http(s) link | |
| flip | No | Mirror the picture | none |
| mute | No | Remove the audio | |
| speed | No | 1 is normal. 2 is double speed, 0.5 is slow motion | |
| format | No | Output format | mp4 |
| rotate | No | Rotate clockwise, in degrees | 0 |
| quality | No | Quality. Lower quality gives smaller files | medium |
| max_height | No | Shrink video to at most this height, e.g. 720 | |
| aspect_ratio | No | Reframe to this aspect ratio | |
| start_seconds | No | Start time in seconds | |
| duration_seconds | No | Length of the result in seconds |