photo_watermark
Add Image Watermark — Overlay a text watermark on a photo with configurable position (ImageMagick gravity names), opacity, and font size. [category: photo]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | JPG, PNG, WebP, GIF, BMP, HEIC, TIFF. Max 25 MB. Output keeps the input format. | |
| text | No | Defaults to 'John's Essentials' when omitted — always pass your own. A leading '@' is stripped. | John's Essentials |
| color | No | A hex colour, or one of white, black, gray, red, orange, yellow, green, blue, cyan, magenta, purple, pink, brown. Anything else falls back to white. | #ffffff |
| opacity | No | INTEGER percent 0-100 — a fraction like 0.5 parses as 0 (invisible watermark). | |
| position | No | Case-sensitive ImageMagick gravity name — 'center' (lowercase) or 'top-left' are NOT recognized and silently fall back to SouthEast. | SouthEast |
| font_size | No | Points. Out-of-range values (<6 or >500) silently reset to 36 — no error returned. | |
| stroke_color | No | The outline behind the text, which is what keeps a watermark readable over a white dress or a black suit. Leave it unset and it is picked for you - black behind a light colour, white behind a dark one. Same colour names as above. | |
| stroke_width | No | How thick the outline behind the text is. Leave it on auto and it scales with the text size. 0 turns the outline off; otherwise a whole number up to 20 - anything larger is treated as 20. | auto |