add_overlay
Overlay a watermark, logo, or branding image on a video with adjustable position, padding, scale, and opacity to brand or protect content.
Instructions
Place a watermark image, logo PNG, or branding graphic over a video with customizable position, padding, scaling, and opacity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opacity | No | Overlay opacity from 0.05 (subtle watermark) to 1.0 (fully opaque). Default: 1.0. | |
| padding | No | Margin padding in pixels from the edge. Default: 20. | |
| position | No | Corner or screen placement for the overlay. Default: 'bottom_right'. | bottom_right |
| videoPath | Yes | Path to the base video file. | |
| outputPath | Yes | Destination path for the output video (.mp4 or .mov). | |
| scaleWidth | No | Optional width in pixels to scale the overlay, keeping its original aspect ratio (e.g. 150). | |
| overlayPath | Yes | Path to the watermark, logo, or overlay image (.png, .jpg, or .webp). | |
| hardwareAcceleration | No | Use hardware-accelerated video encoding when available. Default: true. |