CloudConvert icon

CloudConvert

Use CloudConvert to convert files, create thumbnails, merge files, add watermarks and more!

File → Add Watermark

AI-generated

Summary

Add a watermark to a file (PDF, image, or video) by uploading the file and applying either an image watermark from a URL or a text watermark with customizable font size, color, position, margin, and opacity.

Inputs

  • Authentication (required) — Choose between OAuth2 or API Key authentication to authorize the operation.
  • Binary Input Data (required) — Specify if the input file to upload should be taken from binary data in a workflow item.
  • Input Binary Property Name (required) — Name of the binary property containing the input file data when Binary Input Data is true.
  • Input File Contents (required) — The text content of the input file to upload when Binary Input Data is false.
  • Input File Name (required) — Name of the input file including extension when Binary Input Data is false.
  • Watermark Image (required) — Choose whether to use an image as the watermark (true) or text (false).
  • Image URL (required) — URL of the watermark image (PNG, JPG, SVG) to apply if Watermark Image is true.
  • Text (required) — Text to be used as the watermark if Watermark Image is false.
  • Font Size (required) — Font size for the text watermark.
  • Font Color (required) — Font color for the text watermark in hex format.
  • Vertical Position (required) — Vertical position of the watermark on the file: Top, Center, or Bottom.
  • Horizontal Position (required) — Horizontal position of the watermark on the file: Left, Center, or Right.
  • Vertical Margin (required) — Vertical margin (spacing) around the watermark.
  • Horizontal Margin (required) — Horizontal margin (spacing) around the watermark.
  • Opacity (required) — Opacity percentage for watermark transparency; 100% means fully visible.
  • Additional Options — JSON dictionary of additional options for the converting task to customize the watermarking process.

Output shape

binary file per input workflow item

Returns the watermarked file as binary data in the output of the node, paired with each input item. No additional JSON metadata is returned by default.

Examples

Example 1: Add a text watermark

Set 'Watermark Image' to false, specify the watermark text, font size and color, position, margins, and opacity, and provide either binary input data or input file content and filename.

Example 2: Add an image watermark

Set 'Watermark Image' to true, provide the image URL of the watermark, set position, margins and opacity, and provide the input file via binary data or content fields.

Links

Discussion