generate_fcpxml
Generate an FCPXML 1.9 timeline with video and audio clips, in/out ranges, and markers for clean import into DaVinci Resolve. Use dry_run to preview the plan before writing the file.
Instructions
Generate an FCPXML 1.9 timeline (video + audio clips, in/out ranges, markers) that imports cleanly into DaVinci Resolve via File > Import > Timeline. The primary way to deliver an edit in interchange (free Resolve) mode. dry_run returns the plan; dry_run=false writes the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Timeline/project name. | |
| clips | Yes | Timeline clips. Each has a path and optional in/out or duration and placement (seconds). | |
| width | No | Timeline width. | |
| height | No | Timeline height. | |
| dry_run | No | When true (default), return the plan without changing anything. | |
| markers | No | Timeline markers. | |
| frame_rate | No | Timeline frame rate. | |
| output_path | No | Optional .fcpxml destination. | |
| clip_duration_seconds | No | Default per-clip length when a clip omits in/out and duration. |