PDF to Image
PDFtoImagePDF to Image: PDF to Image renders the pages you choose from a PDF, uploaded or fetched from a URL, as PNG or JPG images and returns a download link for each, valid for 2 days, with its pixel size. The Free plan renders one page per call at 150 dpi; paid plans render up to 10 pages per call and can set the resolution from 72 to 300 dpi. (Cost: 10 credits)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "PDFtoImage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Resolution in dots per inch, from 72 to 300 | |
| No | The PDF file to render (up to 10 MB), or a public PDF URL | ||
| pages | No | Pages to render, as numbers and ranges such as 1-3,5; at most 10 per call on paid plans, 1 on the Free plan | 1 |
| format | No | Image format | png |
| quality | No | JPG quality from 1 to 100; ignored for PNG |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |