Compose Videos
composeLay 2-9 videos out side by side, stacked, or in a grid (before/after, app and terminal), labelled and in sync.
Instructions
Lay 2-9 videos out side by side, stacked, or in a grid (before/after, app and terminal), labelled and in sync.
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": {
"inputs": "<inputs>"
},
"name": "compose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | No | Input index whose audio to keep (default 0), "mix", or "none". | |
| inputs | Yes | Videos in reading order, each with an optional label (e.g. "Before"). | |
| layout | No | side_by_side (default), stack, or grid. | |
| output | No | Optional output path. Defaults under SCREENCAST_HOME/edits. | |
| endWith | No | longest (default; shorter ones hold their last frame) or shortest. | |
| overwrite | No | Allow replacing an existing file at the output path (default false). | |
| alignMarker | No | Line inputs up on this add_marker label. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | Yes | Path of the file written. |