Join shots into one clip
concatJoins ordered gallery video IDs into one MP4 or WebM, matching shots to the first clip's size and frame rate, with optional fades, music, logo, and end card.
Instructions
Joins finished videos (gallery ids, in order) into one MP4 or WebM that appears in the gallery. Shots are matched to the first shot's size and frame rate; shots without sound get silence. fade: seconds of the transition between shots, 0 = hard 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": {
"ids": "<ids>"
},
"name": "concat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| fade | No | ||
| logo | No | Gallery id or absolute path of a PNG (transparency kept), shown over the whole clip | |
| music | No | Absolute path of an audio file (mp3, wav, m4a, aac, flac, ogg); trimmed to the clip, fades out at the end | |
| format | No | mp4 = H.264/AAC, plays everywhere; webm = VP9/Opus, royalty free | mp4 |
| endcard | No | Gallery id or absolute path of an image appended as the last shot | |
| fade_in | No | Seconds of fade from black at the start (picture and sound) | |
| fade_out | No | Seconds of fade to black at the end (picture and sound) | |
| logo_scale | No | Logo width as a share of the video width | |
| transition | No | Kind of transition when fade > 0: fade = cross-dissolve, fadeblack/fadewhite = dip to black/white, wipeleft, slideleft | fade |
| shot_volume | No | Level of the shots' own sounds under the music | |
| music_volume | No | ||
| logo_position | No | br | |
| endcard_seconds | No |