Set transition
set_transitionTransition into a clip from the clip directly before it on the same video track (they must touch). Types by group — Basic: fade, dissolve, fadeBlack, fadeWhite, fadeGrays, blur. Wipes: wipeLeft, wipeRight, wipeUp, wipeDown, softWipeLeft, softWipeRight, softWipeUp, softWipeDown, diagonalTopLeft, diagonalTopRight, diagonalBottomLeft, diagonalBottomRight, cornerTopLeft, cornerTopRight, cornerBottomLeft, cornerBottomRight, clock. Push and slide: slideLeft, slideRight, slideUp, slideDown, coverLeft, coverRight, coverUp, coverDown, revealLeft, revealRight, revealUp, revealDown. Shapes: circleOpen, circleClose, irisCircle, irisBox, doorsOpen, doorsClose, splitOpen, splitClose. Stylized: zoom, pixelize, slicesLeft, slicesRight, slicesUp, slicesDown, windLeft, windRight, windUp, windDown, squeezeLine, squeezeColumn, spinCw, spinCcw. type null removes it. Timing stays the same: the transition is centred on the cut.
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": {
"clipId": "<clipId>",
"type": "<type>"
},
"name": "set_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| clipId | Yes | the incoming (second) clip | |
| duration | No | seconds, default 0.6, max 2 | |
| projectId | No | Project to act on (default: the open one) |