stitch_video
Assemble hook + demo clips into a final vertical video with text overlay. Costs 2 credits. IMPORTANT: Before stitching, ask the user whether they want the text overlay to appear on the demo section too or only on the hook.
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": {
"projectName": "<projectName>",
"clips": "<clips>"
},
"name": "stitch_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clips | Yes | Ordered list of clips to stitch | |
| fontSize | No | Font size in pixels (default 64, reads well on TikTok/Reels) | |
| hookText | No | Text overlay on the video | |
| musicUrl | No | Background music URL or local path (e.g. /music/lofi.mp3) | |
| textOnDemo | No | Show text overlay on demo clips too (default false - text appears on hook only) | |
| musicVolume | No | Music volume 0-1 (default 0.3) | |
| projectName | Yes | Name for this video project | |
| workspaceId | No | Workspace (product/brand) id from list_workspaces. Omit to use the default workspace (set_default_workspace), else the newest one. | |
| textPosition | No | Vertical position of text overlay | |
| textUppercase | No | Uppercase the text | |
| textBackground | No | Add semi-transparent background behind text | |
| exportResolution | No | Export resolution (default 1080p) |