comp_add_overlay
Add an image or muted video as an overlay to a composition, setting its duration, width, and height. Position and start time can be adjusted.
Instructions
Add an image or video overlay (overlay video is muted, last frame held).
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": {
"comp_id": "<comp_id>",
"media_id": "<media_id>",
"duration": "<duration>",
"width": "<width>",
"height": "<height>"
},
"name": "comp_add_overlay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| start | No | ||
| width | Yes | ||
| height | Yes | ||
| comp_id | Yes | ||
| duration | Yes | ||
| media_id | Yes |