add-watermark-to-pdf
bởi crossservicesolutions
PDF & DocumentsTóm tắt
Add a text watermark to one or multiple PDFs by uploading them to the Solutions API, polling until completion.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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", ...] }
Yêu cầu
- Cross-Service Solutions API key from https://login.cross-service-solutions.com/register
Cài đặt
clawhub install crossservicesolutions/add-watermark-to-pdfChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.