convert-to-pdf
由 crossservicesolutions 提供
PDF & Documents简介
Convert one or multiple documents to PDF by uploading them to Cross-Service-Solutions, polling until completion.
描述
该技能的功能
Converts one or more documents to PDF by uploading them to the Cross-Service-Solutions API, polling for job completion, and returning download URLs for the resulting files. Multiple inputs produce individual PDFs and an optional ZIP archive.
Handles batch conversion of mixed file types in a single API call and bundles results into a ZIP, avoiding multiple round-trips or manual conversions.
何时使用
- Converting a Word report to PDF before sending to a client
- Batch converting presentation slides and spreadsheets to PDF in one job
- Automating PDF generation from uploaded contract drafts
- Downloading a ZIP of converted PDFs from a multi-file submission
- Integrating PDF conversion into a document processing pipeline
示例工作流
User asks: convert these three .docx files to PDF
- 1
Accept the uploaded files and retrieve the API key
- 2
POST the files to /api/31 as multipart/form-data
- 3
Receive the job ID from the response
- 4
Poll GET /api/<job_id> until status is done
- 5
Return the download URLs for each PDF and the ZIP archive
A structured result with job_id, status, per-file download URLs, and a ZIP download URL
前置要求
- Cross-Service-Solutions API key from https://login.cross-service-solutions.com/register
安装
clawhub install crossservicesolutions/convert-to-pdf运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。