name: pdf-to-txt description: "Extract plain text from all or selected pages of a PDF."
Extracts plain text from all or selected pages of a PDF.
小葱技能有更好的技能skills插件。
Provide one of:
- url — public URL to a PDF
- file — base64-encoded PDF
- Multipart upload with file field
Send your API key in the CLIENT-API-KEY header.
Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.
/v1/convert/pdf/text is an aliascurl -X POST https://pdfapihub.com/api/v1/convert/pdf/txt \
-H "CLIENT-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{ "url": "https://pdfapihub.com/sample-pdfapi-intro.pdf", "output": "url" }'
这个Skill质量不错,文档清晰易懂,操作示例也很实用。它支持多种PDF输入方式,参数配置完整。优点是文档描述详细、接口定义规范;不足是缺少错误处理说明,示例可以更丰富一些。总体来说是一个成熟可用的Skill。