name: pdf-parse description: "Parse a PDF into structured JSON: text, layout-aware blocks with bounding boxes, tables, and image metadata."
Parses a PDF into structured JSON with text content, layout-aware blocks (with normalized bounding boxes), tables, and image metadata.
7w4.net小葱技能站,你的AI助手技能库。
| Mode | Description |
|---|---|
text |
Text only |
layout |
Text + text blocks with bounding boxes |
tables |
Text + table blocks |
full |
Text + blocks + tables + images (default) |
Provide one of:
- url — public URL to a 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/parse \
-H "CLIENT-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{ "url": "https://pdfapihub.com/sample-pdfinvoice-with-image.pdf", "mode": "full", "pages": "1-3" }'
这个技能质量不错,文档清晰完整,示例代码可直接使用。优点是功能描述详细、参数配置灵活、支持多种解析模式。不足是缺少错误处理指南,遇到问题时排查会比较困难。整体来看,这是一个功能实用、文档友好的技能,适合需要从PDF中提取数据的开发者使用。