About this endpoint
What it does
Converts an uploaded PDF file into page images and returns the result as a downloadable binary file. The request accepts the PDF plus optional rendering settings for image quality and output format.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | PDF file to convert. Binary upload. Max 10 MB. |
| quality | ENUM | No | Image rendering quality. Allowed values: low, medium, high, ultra. Default: medium. Higher quality increases processing time. |
| img_format | ENUM | No | Output image format for all pages. Allowed values: jpg, png. Default: jpg. |
Response
Returns a binary file download containing the converted page images. The success response is a single binary payload, not a JSON object.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| binary response | String | Yes | Downloadable file content returned by the endpoint. |
Notes
The uploaded PDF file must be no larger than 10 MB.