Add transition
transition.addTransition at the cut after a clip, into the clip that touches it (video://catalog/transitions). Linked audio gets a crossfade at the same cut. kind crossfade is sound only: on a video clip it crossfades the linked audio and the picture cuts hard (use mode handles for that). mode overlap (default) overlaps the clips and moves later clips earlier; handles uses source past the cut and moves nothing. changed lists each transition added, with its track and kind. Returns the edit result (see the server instructions).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | video://catalog/transitions; crossfade on audio tracks | |
| mode | No | overlap: the clips overlap by the duration and later clips move earlier; handles: use source past the cut, nothing moves | overlap |
| clip_id | Yes | The clip before the cut; the clip after it must touch it | |
| preview | No | inline: image in the result; link: URI that renders on read; none | link |
| timeline_id | Yes | Timeline handle; every edit returns a new one | |
| other_tracks | No | overlap only: what the other tracks do. stay: they don't move, so what sits after the cut there plays later against the picture (the result warns which clips); extract: the same span comes out of them too, like range.extract, so everything stays in sync | stay |
| duration_frames | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | Yes | Timeline handle; every edit returns a new one | |
| changed | Yes | ||
| clip_id | No | ||
| preview | Yes | ||
| clip_ids | No | ||
| track_id | No | ||
| warnings | Yes | ||
| timeline_id | Yes | Timeline handle; every edit returns a new one |