About this endpoint
What it does
Converts the pages of an uploaded PDF file into images and returns a JSON object containing a download_url where the generated images archive can be retrieved.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | PDF file to convert. Binary upload. |
| quality | ENUM | No | Image quality to use. Allowed values: low, medium, high, ultra. Default: medium. |
| img_format | ENUM | No | Output image format. Allowed values: jpg, png. Default: jpg. |
Response
Returns a JSON object with a download_url string field containing a URI to the generated images archive.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| download_url | String | No | URI where the converted images archive can be downloaded. |