add_watermark
Overlay a logo or watermark image on a video, selecting corner or center position and adjusting opacity and scale.
Instructions
Overlay a logo/watermark image onto a video at a chosen corner or the center.
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>",
"watermark_path": "<watermark_path>",
"output_path": "<output_path>"
},
"name": "add_watermark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opacity | No | ||
| position | No | bottom-right | |
| input_path | Yes | Source video path. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. | |
| output_path | Yes | Destination path. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. | |
| scale_width | No | Resize the watermark to this width in pixels before overlaying | |
| watermark_path | Yes | Path to the watermark/logo image. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. |