pdf to images
pdf_to_imagesRender PDF pages to PNG or JPEG at 50-300 dpi (for vision models, previews or thumbnails). $0.008 + $0.001 per page (max_pages up to 50, default 10); continue with first_page. Costs $0.058 USDC per call (x402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Default 150 | |
| url | No | https URL of the file (max 20 MB) | |
| store | No | Return 7-day share links instead of base64 (+$0.001); automatic above 3 MB | |
| format | No | binary = raw file bytes (single output) | |
| filename | No | Name with extension, helps detect the type | |
| max_pages | No | 1-50, default 10 | |
| first_page | No | ||
| file_base64 | No | Or the file as base64 / data URI | |
| image_format | No | png (default) or jpg |