API & MCP
Everything a person can do on Batch Watermark Studio, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://batchwatermarkstudio.usefulweb.site/api/v1/calculate– run Batch Watermark StudioGET https://batchwatermarkstudio.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Batch Watermark Studio
Stamps a text watermark (choice of installed fonts, size, colour, opacity, angle) or your logo (PNG with transparency, scale, opacity) onto one image or a ZIP of up to 30 images, in a corner, the centre or tiled across the whole picture. Download all results as one ZIP and check the preview of the first image.
| Field | Type | Default | Description |
|---|---|---|---|
images (required) | file | — | Image or ZIP of images. One image or a ZIP with up to 30 images (JPG, PNG, WebP, AVIF, GIF, TIFF, HEIC), max 50 MB each and 150 MB in total. |
mode | select (text, logo) | "text" | Watermark type |
text | text | "© Your Name" | Watermark text. For text watermarks. Line breaks are replaced by spaces. |
font | select (dejavu-sans, dejavu-sans-bold, dejavu-serif, dejavu-sans-mono, liberation-sans, liberation-sans-bold, liberation-serif, liberation-serif-italic, liberation-mono) | "dejavu-sans" | Font |
size | number | 6 | Size. Text: letter height as % of the shorter image side. Logo: logo width as % of the image width. |
color | text | "#ffffff" | Text colour. Hex colour, e.g. #ffffff (white) or #000000 (black). |
opacity | integer | 50 | Opacity |
angle | integer | 0 | Angle. Rotation of the watermark; e.g. -30 for a diagonal tile pattern. |
position | select (center, north, south, west, east, northwest, northeast, southwest, southeast, tile) | "southeast" | Position |
margin | number | 3 | Margin. Distance from the edge as % of the shorter side (ignored for centre and tiling). |
logo | file | — | Logo (for logo watermarks). PNG or WebP with a transparent background works best, max 10 MB. |
format | select (same, jpeg, png, webp, avif) | "same" | Output format |
quality | integer | 88 | Quality. For JPG, WebP and AVIF. |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://batchwatermarkstudio.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
batch_watermark_studio - Local stdio connector:
node src/mcp-stdio.ts --tool=batch-watermark-studio
{
"mcpServers": {
"batch-watermark-studio": { "type": "http", "url": "https://batchwatermarkstudio.usefulweb.site/mcp" }
}
}