Add a watermark
pdf_add_watermarkStamp diagonal text like DRAFT or CONFIDENTIAL on selected PDF pages, or all pages, and save as a new file without overwriting the original.
Instructions
Stamp text diagonally across pages, such as DRAFT or CONFIDENTIAL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| input | Yes | Path to a PDF inside an allowed folder (absolute, or relative to the first allowed folder). | |
| pages | No | Page numbers or ranges, such as "1, 3-5". Omit for every page. | |
| output | Yes | Path for the new PDF, inside an allowed folder. Must not exist yet; superPDF never overwrites files. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| pages | Yes | ||
| output | Yes |