Render PDF pages as images
dochorizon_document_renderSPENDS CREDITS: render pages of a PDF as images, optionally limited in width/height. Each render config gives page_ranges and optional width and height in pixels. Images are stored in Doxis AI.dp storage and returned as file ids (use dochorizon_download_file for small ones). Uses your own Doxis AI.dp (Klippa) credits: billed per request or per page depending on the service (extra components in a configuration can add cost), at your project's price (Billing → Pricing in the platform); a new account starts with EUR 25 of free credit. Give the document as exactly one of url (public https), data_base64 (small files) or file_id (a stored file). POST /document_toolkit/v1/render.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public https URL of the document. Klippa downloads it (must complete within 30 seconds). | |
| file_id | No | A Doxis AI.dp storage file id (from dochorizon_upload_file or a toolkit result). | |
| renders | Yes | The render configurations. | |
| filename | No | A name for the file (helps content-type detection). | |
| password | No | Password of a protected PDF. Only used for this request. | |
| data_base64 | No | The document as base64 (at most about 1.5 MB of file). Prefer url or file_id for anything bigger. | |
| content_type | No | MIME type, if it cannot be detected. |