image_watermark
Put a watermark on an image from freedailypro: text (drawn in Roboto, Latin/Greek/Cyrillic) or a watermark picture (watermarkBase64), at a position (center, top-left, top, top-right, left, right, bottom-left, bottom, bottom-right or tile), with opacity 0-1, size, margin and rotation. Reads and writes JPEG, PNG, WebP, AVIF, GIF (first frame), TIFF
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": {
"fileBase64": "<fileBase64>"
},
"name": "image_watermark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The words to stamp. Send this or watermarkBase64 | |
| color | No | Text colour, a name or hex. Default white | |
| scale | No | Watermark picture width as a share of the image width. Default 0.2 | |
| format | No | png, jpeg (or jpg), webp, avif, gif, tiff, bmp or ico; image/... types also work. Default: the same format as the input | |
| margin | No | Distance from the edge in pixels | |
| opacity | No | Default 0.5 | |
| quality | No | 0-1 (for example 0.8) or 1-100 (for example 80); JPEG, WebP, AVIF, and palette PNG | |
| fontSize | No | Text size in pixels. Default about 1/12 of the shorter side | |
| position | No | Default bottom-right | |
| rotation | No | Degrees; tile defaults to -30 | |
| fileBase64 | Yes | ||
| stripMetadata | No | Remove EXIF/GPS/colour-profile data. Default true | |
| backgroundColor | No | Fill for transparent areas (always used for JPEG), e.g. '#ffffff' or 'white' | |
| watermarkBase64 | No | A watermark picture (PNG with transparency works best), base64 |