Tools API Blog
Sign in Create account

Image watermark

Image watermark is an API that overlays text or your logo on a photo or image. The sibling of PDF watermark, for when what needs marking is a loose image, not a document.

How it works

You send an image and, either text or your logo (another image), and get back the first one with the mark overlaid. By default it comes out diagonal, centered and semi-transparent.

Only one at a time: text OR logo, never both in the same call.

All you need

  • Your API key. Create it in your dashboard with "+ Create key". It's shown only once, so copy and save it.
  • In your automation platform, an "HTTP Request" step (n8n, Make, Zapier, Pipedream… all have one).

Text watermark: how to use it in n8n

You send your image as-is (binary) and the text as a parameter. In the HTTP Request node:

  • Method: POST
  • URL: https://api.cofferdock.com/image-watermark
  • Send Query Parameters: on → add text = © My Company (and whatever else: opacity, position… see the table).
  • Send Headers: on → add x-api-key = your key.
  • Send Body: on → choose to send a binary file (in n8n: "n8n Binary File").
  • In Options → Response → Response Format: choose File

Watermark with your logo

To use a logo instead of text, you need to send two images at once, so this only works with a JSON body:

{ "file": "<your image in base64>", "image": "<your logo in base64>" }

Options

OptionDefaultWhat it does
text-The watermark text (max 200 characters). Use this OR image.
image-Your logo in base64. JSON body only.
positioncentercenter, top-left, top-right, bottom-left, bottom-right.
opacity0.30.05 (nearly invisible) to 1 (solid).
rotation45Degrees.

What you get back

By default: with the raw image it returns the image; with JSON it returns base64. Add output=image to force the binary, or output=url for a temporary link (valid 15 minutes).