create_split_screen
Combine two video files into a vertical (Reels/TikTok) or horizontal split-screen layout. Mix audio tracks from both clips and embed subtitles into your final video output.
Instructions
Combine two video files into a split-screen video. Stacks clips vertically (1080x1920 for Reels and TikTok) or places them side-by-side. Supports audio mixing and subtitle embedding.
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": {
"firstVideoPath": "<firstVideoPath>",
"secondVideoPath": "<secondVideoPath>",
"outputPath": "<outputPath>"
},
"name": "create_split_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout | No | Split layout: 'vertical_9_16' (1080x1920 stacked top/bottom for Reels and TikTok), 'horizontal_16_9' (1920x1080 side-by-side), or 'square_1_1' (1080x1080 stacked). Default: 'vertical_9_16'. | vertical_9_16 |
| outputPath | Yes | Destination path for the split-screen output file (e.g. './reel.mp4'). | |
| audioSource | No | Audio track selection: 'mix' (blends audio from both videos), 'first' (uses only top/left audio), 'second' (uses only bottom/right audio), or 'mute'. Default: 'mix'. | mix |
| subtitlesPath | No | Optional path to an .srt or .vtt subtitle file to embed into the output video. | |
| firstVideoPath | Yes | Path to the top video (vertical layout) or left video (horizontal layout). | |
| secondVideoPath | Yes | Path to the bottom video (vertical layout) or right video (horizontal layout). | |
| hardwareAcceleration | No | Use hardware-accelerated video encoding (VideoToolbox, NVENC, QSV, etc.) when available. Default: true. |