Picture in picture
picture_in_pictureOverlay a secondary video in a corner of the main video. Drop the overlay's audio, keep the main audio, and end the overlay when its clip finishes.
Instructions
Overlay one video on top of another in a corner (like a webcam feed or reaction box). The overlay's own audio is dropped; the main video's audio is kept. The overlay disappears when its clip ends.
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": {
"input_path": "<input_path>",
"overlay_path": "<overlay_path>"
},
"name": "picture_in_picture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | Show the overlay starting at this time in the main video | |
| width | No | Overlay width in pixels (default: 1/4 of the main video width) | |
| position | No | Where to place the overlay (default bottom-right) | |
| input_path | Yes | Path to the main (background) video | |
| output_path | No | Where to write the result | |
| overlay_path | Yes | Path to the video to show in the corner |