Join up to 3 clips into one video
stitch_videosJoins 1–3 clips into one video to post, in order. Each clip is a ready 'own' upload (source_id) or one of your ready videos (video_id), cut to start/end seconds (each at least 0.5 s, 10 minutes in all); overlap: seconds of crossfade into the previous clip (0–2). request_id: a new unique string per video; the same request_id returns the same video, never a second one. Poll get_video until ready.
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": {
"request_id": "<request_id>",
"clips": "<clips>"
},
"name": "stitch_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clips | Yes | ||
| request_id | Yes | A new unique id per stitched video; repeat it only to retry the same request |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| video_id | Yes |