apply_watermark
Add a text or logo watermark to images to protect product photos, artwork, and marketing content. Customize placement, opacity, and styling.
Instructions
Protect product photos, artwork, and marketing images by applying a text or logo watermark with customizable placement, opacity, and styling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to render as watermark (e.g., "© 2026 MyBrand", "PROMO COPY", "SAMPLE"). | |
| color | No | Color of text watermark in hex (e.g., "#ffffff", "#000000"). Default: #ffffff. | #ffffff |
| margin | No | Padding in pixels from the border edge. Default: 35. | |
| opacity | No | Watermark opacity level between 0.05 (very subtle) and 1.0 (fully opaque). Default is 0.6. | |
| position | No | Watermark position: bottom-right (default), bottom-left, top-right, top-left, center, or tile (repeats diagonally). | bottom-right |
| font_size | No | Font size in pixels for text watermark. Default auto-scales to image dimensions. | |
| logo_path | No | Path to a PNG or transparent logo image to overlay as watermark. | |
| image_path | Yes | Absolute or relative path to the image to watermark. | |
| output_path | No | Optional destination file path. If omitted, saves as [name]-watermarked.[ext]. |