add_watermark
Add a watermark image to a video, specifying position, opacity, and margin. Supports custom output path.
Instructions
为视频添加水印
Args:
input_path: 输入视频文件路径
watermark_path: 水印图片路径
output_path: 输出视频文件路径(可选)
position: 水印位置(top-left, top-right, bottom-left, bottom-right, center)
opacity: 水印透明度(0.0-1.0)
margin: 水印边距像素
Returns:
添加结果信息Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | ||
| watermark_path | Yes | ||
| output_path | No | ||
| position | No | bottom-right | |
| opacity | No | ||
| margin | No |