arrow_back All endpoints

Watermark Image

POST/api/v1/tools/watermark-image2 credits per callwatermarkimagebrandcopyrightstampprotect

Downloads an image from a public URL and draws a text watermark over it. Position and opacity are configurable, so the same call covers a discreet corner credit and a full diagonal proof stamp. Runs on the same code path as the browser tool.

receipt_long
Why 2 credits?

One download plus a pure-CPU raster pass - cheap, but it moves bytes.

Any HTTP client works. Replace the key with one from your dashboard.

bash
curl -X POST https://toolkitbackend-j69m.onrender.com/api/v1/tools/watermark-image \
  -H "Authorization: Bearer tb_live_<your_api_key>" \
  -H "Content-Type: application/json" \
  -d '{
  "fileUrl": "https://example.com/photo.jpg",
  "text": "PROOF",
  "opacity": 0.3,
  "position": "center"
}'

Input

FieldTypeRequiredDefaultDescription
fileUrlstringrequired- Publicly reachable URL of a PNG, JPEG or WebP image.
textstringrequired- Watermark text to draw.
opacitynumberoptional0.35 0.05 to 1. Lower is more discreet.
positionstringoptionalbottom-right center, top-left, top-right, bottom-left, bottom-right or tile.

Output

FieldTypeDescription
fileBase64stringWatermarked image, base64-encoded, without a data URI prefix.
mimeTypestringOutput image MIME type.
fileNamestringSuggested download name.
sizeBytesintegerSize of the decoded image.

Try it

Sends a real POST /api/v1/tools/watermark-image from your browser and charges 2 credits to your account.

Sign in to run this endpoint. New accounts start with free credits.