video_edit
Execute a full timeline-based video edit from a JSON specification, combining clips, audio, text, and image overlays with transitions and export settings in one operation.
Instructions
Execute a full timeline-based edit from a JSON specification.
The timeline JSON describes video clips, audio tracks, text overlays, image overlays, transitions, and export settings in a single operation.
Image overlays are applied in a single filtergraph pass (no multiple re-encodes).
Args: timeline: JSON object with keys: width, height, tracks (video/audio/text/image), export. Can also be a JSON string or a path to a .json file. Image overlays in tracks: {"type": "image", "images": [{"source": "logo.png", "position": "top-right", "width": 200, "opacity": 0.8}]} output_path: Where to save the final video. Auto-generated if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeline | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||