Add a text watermark to a PDF
add_watermarkStamp text such as "CONFIDENTIAL" or "DRAFT" diagonally across PDF pages, with control over opacity and angle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | A single input file, given as either an HTTPS url or base64 contents. | |
| text | Yes | Watermark text, for example "CONFIDENTIAL". | |
| angle | No | Rotation of the text in degrees. | |
| pages | No | Pages to stamp, for example "1-5". Defaults to every page. | |
| opacity | No | Opacity from 0.05 (very faint) to 1 (solid). | |
| font_size | No | Text size in points. | |
| output_filename | No | Name for the resulting file. |