add-watermark-to-pdf
由 crossservicesolutions 提供
PDF & Documents简介
Add a text watermark to one or multiple PDFs by uploading them to the Solutions API, polling until completion.
描述
该技能的功能
Adds a text watermark to one or more PDF files using the Cross-Service Solutions API. Uploads files, polls for job completion, and returns download URLs for the watermarked PDFs or a ZIP archive when multiple files are processed.
Handles batch processing and async job polling in a single workflow, removing the need to manually upload, wait, and retrieve files from a web UI.
何时使用
- Stamping confidential documents before sharing
- Adding draft watermarks to contract PDFs for review
- Marking invoices with company name before sending
- Batch watermarking report PDFs for distribution
- Branding exported PDF presentations
示例工作流
User asks: 'Add CONFIDENTIAL watermark to these 3 PDF files'
- 1
Upload all three PDF files and the watermark text to POST /api/61 as multipart/form-data
- 2
Receive job ID from the API response
- 3
Poll GET /api/<ID> at intervals until status is done
- 4
Extract output file paths from response.output.files[]
- 5
Return download URLs for each watermarked PDF
{ "job_id": 6101, "status": "done", "outputs": [{"name": "doc1_watermarked.pdf", "path": "https://.../doc1_watermarked.pdf"}, ...], "download_urls": ["https://.../doc1_watermarked.pdf", ...] }
前置要求
- Cross-Service Solutions API key from https://login.cross-service-solutions.com/register
安装
clawhub install crossservicesolutions/add-watermark-to-pdf运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。