image_watermark
Adds semi-transparent text watermarks to the bottom-right of batches of images, with adjustable size and opacity for consistent branding or attribution.
Instructions
批量加右下角半透明文字水印。text 为水印文字;size_ratio 为字号占图宽比例(默认 0.05);opacity 0-255(默认 160)。
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>",
"output_dir": "<output_dir>",
"text": "<text>"
},
"name": "image_watermark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| opacity | No | ||
| input_path | Yes | ||
| output_dir | Yes | ||
| size_ratio | No |