Set transition
set_transition[write] Add, change or remove the transition where two clips meet on a lane. It belongs to the incoming clip. It can set every such seam at once. Use for fades, wipes, slides and zooms between shots; the clips must meet end to end first (use close_gap or move_clip). Not for audio or captions, or a clip's own entrance (use set_clip_animation). Returns the refreshed timeline table, transitions (into: the incoming clip's handle, type, durationMs), tracks and markers. Related: close_gap, get_timeline, set_clip_animation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "set_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The incoming clip's handle (after the cut). | |
| all | No | Every seam instead of one clip. | |
| type | No | Transition style; "none" removes it. | |
| items | No | Many clips at once, max 60, each with this tool's fields. | |
| durationMs | No | Length, ms, 100–2000. Default: kept, or the type's own (500; a whip its measured 333–533). | |
| project_id | Yes | The AskEditor project this acts on (from list_projects). |