Reorder timeline elements
reorder_timelineReorder video clip elements in a track to match a desired sequence, automatically recomputing start times for back-to-back playback. Optionally add gaps between clips.
Instructions
Rearrange a track's elements (defaults to the video/clip track) into the given order and recompute sequential startTimes so they play back-to-back. Pass element ids in the desired order; omitted elements keep their relative order and are appended after. Ids come from get_project. Blocked in read-only mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | Seconds of gap to insert between elements. Default 0. | |
| order | Yes | Element ids in the desired playback order. | |
| trackId | No | Track to reorder. Defaults to the video track. | |
| projectId | Yes |