Skip to main content

Add Text Watermark to Image

ImageAdd Text Watermark to Image

The Add Text Watermark to Image API overlays text on an image. You send the image as Base64 (docContent), docName, WatermarkText, TextPosition (e.g. bottomleft, centralhorizontal), and optionally font, color, opacity, and async. The API returns the image with the text watermark. Use the tester below to try it; more details are in the sections that follow.

Try the Add Text Watermark to Image API

Quick reference

Endpoint: POST /api/v2/AddTextWatermarkToImage · Required: api-key, docContent, docName, WatermarkText, TextPosition

Try it live

Use the form below to send your API key, image (Base64), watermark text, and position. Adjust font, color, and opacity as needed; the response is the watermarked image. No code required—fill the fields and click Send request.

Loading API Tester...

Overview, parameters, and use cases

What is Add Text Watermark to Image?

This endpoint adds a text watermark to an image. You provide the image (Base64), docName, WatermarkText, and TextPosition (e.g. topright, bottomleft, centralhorizontal, diagonal, custom). Optional settings include TextFontFamily, TextFontSize, TextColour, IsBold, IsItalic, IsUnderline, Opacity, RotationAngle, and custom PositionX/PositionY when TextPosition is custom. The API returns the image with the watermark applied.

Key features

  • Text positiontopright, topleft, bottomright, bottomleft, centralhorizontal, centralvertical, diagonal, or custom (with PositionX, PositionY).
  • Font and style – Font family, size, color, bold, italic, underline.
  • Opacity and rotation – Control visibility and angle of the text.
Best for

Use when you need to brand or label images with text. For image overlays use Add Image Watermark to Image.

Prerequisites

Before using this endpoint, make sure you have:

  • A valid PDF4me API key (Get your API Key)
  • An image file (JPG, PNG, GIF, BMP, TIFF) in Base64 format

Response Format

The API returns an image file with the text watermark applied.

Get Help