edit_video
Create local videos by arranging v1 clips and timed v2 overlays, then add captions, trims, transitions, pause removal, and export.
Instructions
Create a local video with sequential v1 clips and nonoverlapping v2 clips above them. Every clip requires track; v2 requires start seconds, v1 forbids start. Crop uses source-edge percentages; place selects full, halves, corner picture-in-picture or a custom normalized box. Omitted crop/place mean zero crop/full. Supports trims, fill/fit, pan (0–1), zoom (1–3), photos, audio and source-second punch-ins. Up to 300 clips, maximum end 180 seconds. after_clip indexes the request array and must target v1; the incoming neighbor is the next v1, skipping v2. Transitions clamp to adjacent clip limits. Captions and pause detection use v1 only, even when muted. Removing pauses ripples both tracks and overlays; conflicting v1 transitions return an explicit error. Align sources manually; no automatic sync or drift correction. Example: put reference.mp4 on top muted, me.mp4 on the bottom, crop 5% off the sides, start together, Clean captions from my voice. Captions are made on your computer in English; optional corrections replace exact words/phrases. Specify caption style clean/boxed/minimal/karaoke/bold-keyword/word-pop/highlight-box/neon/pop-up/typewriter/outline/editorial/gradient, position upper/center/lower and size s/m/l. No overlays or unchanged free overlays with Clean/Boxed/Minimal captions export without login; other edits need Pro. 1080p default, 720p also free. Media never uploads; Studio exports never enter account history. Returns job_id; poll job_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clips | Yes | ||
| aspect | Yes | ||
| quality | No | ||
| captions | No | ||
| overlays | No | ||
| output_path | No | ||
| transitions | No | ||
| remove_silences | No |