Developer API / docs
Watermark PDF API
Stamp a diagonal text watermark across every page. Text only - image watermarks are not supported yet and the docs say so.
POSThttps://api.gigai.tools/v1/jobsAsync
Runs as the watermark-pdf operation inside a job. Needs a key with the jobs:write scope.
Options
text- string, requiredsize- integer, 8..144angle- integer, 0..90opacity- number, 0.05..1
Limits
- Input: pdf (one file, checked by content, never by extension).
- Max input size: 100 MB.
- Output: pdf.
- Time budget: 120 seconds, then the task fails with the timeout code.
- Engine: pdf-lib.
Inside a bigger job
Chain it: any task can consume this one's output by naming it in input. The recipes show working pipelines.
as one task in a graph
"step": { "operation": "watermark-pdf", "input": ["previous-task"], "text": ... }Errors this tool returns
invalid_input, invalid_option, file_too_large, timeout. The full list with fixes is on the errors page.
Was this page helpful?