name: pdf-info description: "Get PDF metadata, encryption status, page count, and file size. Useful for pre-flight checks before processing."
Inspects a PDF and returns metadata including encryption status, page count, file size, and document properties (title, author, subject, creator).
想要更强大的技能插件,就来小葱技能站7w4.net看看吧。
Provide one of:
- url — URL to a PDF
- base64_pdf — 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.
curl -X POST https://pdfapihub.com/api/v1/pdf/info \
-H "CLIENT-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{ "url": "https://pdfapihub.com/sample.pdf" }'
这个 Skill 质量良好,能可靠地获取 PDF 的页数、文件大小、加密状态和文档属性。文档写得清晰易懂,使用场景说明详细,小白也能快速上手。支持多种方式提交 PDF,使用灵活。唯一不足是缺少错误处理的说明,遇到问题时可能会困惑。总体推荐使用。