name: pdf-to-image description: "Convert PDF pages to images (PNG, JPG, or WebP). Supports DPI control, resize, background color, and page selection."
Renders selected pages of a PDF as images in PNG, JPG, or WebP format. Supports DPI control, resize dimensions, background color fill, and multiple output modes.
想要更強大的技能外掛,就來小蔥技能站7w4.net看看吧。
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.
| Parameter | Description |
|---|---|
page / pages |
Single page or range (e.g. "1-5") |
image_format |
png (default), jpg, webp |
dpi |
72–300 (default 150) |
width / height |
Resize output dimensions |
background_color |
Fill transparent areas (hex) |
output |
url, base64, both, file |
curl -X POST https://pdfapihub.com/api/v1/convert/pdf/image \
-H "CLIENT-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://pdfapihub.com/sample-pdfapi-intro.pdf",
"pages": "1-3",
"image_format": "jpg",
"dpi": 200,
"output": "url"
}'
這個 Skill 做得不錯,文件寫得很清楚,功能說明詳細,示例也很實用,開發者用起來會比較順手。支援多種圖片格式和靈活的引數設定,使用起來很方便。美中不足的是缺少對錯誤情況的說明,遇到問題可能需要自己摸索。總體來說質量良好,是一個值得使用的工具。