image_watermark
Add a text watermark to images and return a stamped file with controls for position, tiling, angle, color, opacity, and output format. Apply it to PNG, JPEG, WebP, GIF, TIFF, BMP, ICO, or AVIF files.
Instructions
imagepeek: Add a text watermark to an image. For PDFs use pdf_watermark. Returns an image stamped in DejaVu Sans Mono; oversized text shrinks to fit. PNG, JPEG, WebP, GIF, TIFF, BMP, ICO, AVIF; unsupported or >40 MP: not charged. Re-encoding strips EXIF/GPS/XMP/IPTC. Output >15 MB or >50 MP: uncharged 413. Images are not logged; a result is kept only with output "url" (24 h). Typically 0.5-2 s. Price: USD 0.002. Free: 3 imagepeek calls per IP per UTC day. Docs: https://tanod.dev/learn/image-watermark-api.html
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": {
"text": "<text>"
},
"name": "image_watermark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL of the image (at most 10 MB; private, internal and IP-literal hosts are refused); or use image_base64. | |
| text | Yes | Printable text. | |
| tile | No | Staggered grid; max 2,500 marks. | |
| angle | No | Clockwise degrees. | |
| color | No | Hex #rrggbb or #rrggbbaa. | #ffffff |
| format | No | Output format (default: the input's; ICO in, PNG out). | |
| margin | No | Edge inset or tile gap, in px; default half the font size, at least 4. | |
| output | No | base64 (default): inline. url: stored for 24 hours; link, metadata. | base64 |
| opacity | No | 0 invisible; 1 opaque. | |
| quality | No | Encoder quality 1-100 (lossy formats). | |
| position | No | Anchor for a single mark. | bottom-right |
| font_size | No | Defaults to 5% of short side. | |
| auto_orient | No | Apply the EXIF orientation first. | |
| image_base64 | No | The image as standard or url-safe base64 (at most 10 MB decoded; a data:image/...;base64, prefix is fine); or use url. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| font | No | ||
| bytes | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| input | No | ||
| marks | No | ||
| notes | No | ||
| width | No | ||
| format | No | ||
| height | No | ||
| sha256 | No | ||
| source | No | ||
| final_url | No | ||
| font_size | No | ||
| operation | No | ||
| expires_at | No | ||
| source_url | No | ||
| data_base64 | No | ||
| content_type | No |