apyhub
FILE CONVERSION · FILE MANIPULATION

Convert PDF to Image API

What it does

PDF to Images converts each page of a PDF into image files. Send a PDF by upload, public URL, or base64-encoded content, and choose the output image format as JPG or PNG plus a rendering quality from low to ultra.

Use PDF to Images when you need page-by-page images for preview galleries, document workflows, thumbnail generation, or downstream image processing. The service supports both direct downloads and S3-hosted results, so you can either fetch a ZIP of images or work with a download_url returned in the response.

For file uploads, the input schema requires file, with optional quality and img_format. For URL-based conversion, provide file_url and the same output options. For base64 workflows, send pdf_base64 with the same quality and format controls. In all cases, the service processes the PDF pages and returns either a binary ZIP download or a JSON object containing a download_url.

If your application stores PDFs in object storage, PDF to Images fits into automated review, archival, and content extraction pipelines where page images are easier to display or inspect than the original document.

▣ ENDPOINT 01 / 06
POST
Convert PDF pages to images (file upload → S3 URL)
https://api.eu.apyverse.com/apyhub/convert-pdf-pages-to-images/file/url

QUICKSTART

GUIDE

Quickstart

Convert a PDF from a URL into page images by uploading the file and choosing the default output settings.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-pdf-pages-to-images/file/url" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/file.pdf"

What you'll get back

Returns a JSON object with an optional download_url string field — a URI where the converted images archive can be downloaded.

{
  "download_url": "https://s3.amazonaws.com/bucket/images.zip"
}
TRY ITLIVE · 150 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*

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

ParameterTypeMandatoryDescription
fileStringYesPDF file to convert. Binary upload.
qualityENUMNoImage quality to use. Allowed values: low, medium, high, ultra. Default: medium.
img_formatENUMNoOutput 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.

ParameterTypeMandatoryDescription
download_urlStringNoURI where the converted images archive can be downloaded.

Body

Name
Type
Description
bodyREQUIRED
object

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ ENDPOINT 02 / 06
POST
Convert PDF pages to images (file upload → ZIP download)
https://api.eu.apyverse.com/apyhub/convert-pdf-pages-to-images/file/download

QUICKSTART

GUIDE

Quickstart

Upload a PDF to convert its pages into images.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-pdf-pages-to-images/file/download" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/file.pdf"

What you'll get back

Returns a binary file (string with format: binary) containing the converted image output.

(binary download)
TRY ITLIVE · 150 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
PDF file to convert. Max 10 MB.
Image rendering quality. Higher quality increases processing time.
Output image format for all pages.

About this endpoint

What it does

Converts an uploaded PDF file into images for each page and returns the result as a binary download. The request body accepts the PDF file plus optional rendering settings for image quality and output image format.

Request Body

ParameterTypeMandatoryDescription
fileStringYesPDF file to convert. Binary upload. Max 10 MB.
qualityENUMNoImage rendering quality. Allowed values: low, medium, high, ultra. Default: medium. Higher quality increases processing time.
img_formatENUMNoOutput image format for all pages. Allowed values: jpg, png. Default: jpg.

Response

Returns a binary file download containing the converted images. The output schema is a single binary string, so the response body is the downloaded file content rather than a JSON object.

Body

Name
Type
Description
bodyREQUIRED
object

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ ENDPOINT 03 / 06
POST
Convert PDF pages to images (URL → S3 URL)
https://api.eu.apyverse.com/apyhub/convert-pdf-pages-to-images/url/url

QUICKSTART

GUIDE

Quickstart

Convert a PDF from a public URL into page images by sending the PDF URL and using the default quality and image format.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-pdf-pages-to-images/url/url" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "file_url": "https://assets.apyhub.com/samples/sample.pdf"
  }'

What you'll get back

Returns a JSON object with a download_url string field containing the URL to the generated images archive.

{
  "download_url": "https://s3.amazonaws.com/bucket/images.zip"
}
TRY ITLIVE · 150 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*

About this endpoint

What it does

Converts the pages of a PDF file available at a URL into images and returns a URL to download the generated output. The request accepts the source PDF URL plus optional image quality and output format settings.

Request Body

ParameterTypeMandatoryDescription
file_urlStringYesURL of the source PDF file. Must be a valid URI.
qualityENUMNoImage quality. Allowed values: low, medium, high, ultra. Default: medium.
img_formatENUMNoOutput image format. Allowed values: jpg, png. Default: jpg.

Response

Returns a JSON object with a download_url string field containing a URI to download the generated images archive.

AttributeTypeMandatoryDescription
download_urlStringNoDownload URL for the generated images archive. Must be a valid URI.

Body

Name
Type
Description
bodyREQUIRED
object
▣ ENDPOINT 04 / 06
POST
Convert PDF pages to images (URL → ZIP download)
https://api.eu.apyverse.com/apyhub/convert-pdf-pages-to-images/url/download

QUICKSTART

GUIDE

Quickstart

Convert a PDF from a public URL into images by sending the PDF URL in the request body.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-pdf-pages-to-images/url/download" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"file_url":"https://assets.apyhub.com/samples/sample.pdf"}'

What you'll get back

Returns a binary file download (string with format: binary) containing the generated images.

TRY ITLIVE · 150 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
Publicly accessible PDF URL.

About this endpoint

What it does

Converts the pages of a PDF available at a public URL into image files and returns the result as a ZIP download. The request body must include the PDF URL; you can also choose the image quality and output image format.

Request Body

ParameterTypeMandatoryDescription
file_urlStringYesPublicly accessible PDF URL. Must be a URI.
qualityENUMNoImage quality. Allowed values: low, medium, high, ultra. Default: medium.
img_formatENUMNoOutput image format. Allowed values: jpg, png. Default: jpg.

Response

Returns a binary response containing the ZIP download of the converted page images.

ParameterTypeMandatoryDescription
binaryStringYesBinary file content returned by the endpoint.

Body

Name
Type
Description
bodyREQUIRED
object
▣ ENDPOINT 05 / 06
POST
Convert PDF pages to images (base64 → S3 URL)
https://api.eu.apyverse.com/apyhub/convert-pdf-pages-to-images/base64/url

QUICKSTART

GUIDE

Quickstart

Convert a PDF you already have as Base64 into images.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-pdf-pages-to-images/base64/url" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "pdf_base64": "JVBERi0xLjQKJc..."
  }'

What you'll get back

Returns a JSON object with a download_url string field containing the URI where the converted images archive can be downloaded.

{
  "download_url": "https://s3.amazonaws.com/bucket/images.zip"
}
TRY ITLIVE · 150 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*

About this endpoint

What it does

Converts a PDF provided as a Base64-encoded string into images and returns a JSON object containing a download_url string for the generated output.

Request Body

ParameterTypeMandatoryDescription
pdf_base64StringYesThe PDF file encoded as a Base64 string.
qualityENUMNoControls the image quality. Allowed values: low, medium, high, ultra. Default: medium.
img_formatENUMNoThe 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 files.

ParameterTypeMandatoryDescription
download_urlStringNoA URI where the generated output can be downloaded.

Body

Name
Type
Description
bodyREQUIRED
object
▣ ENDPOINT 06 / 06
POST
Convert PDF pages to images (base64 → ZIP download)
https://api.eu.apyverse.com/apyhub/convert-pdf-pages-to-images/base64/download

QUICKSTART

GUIDE

Quickstart

Convert a PDF passed as base64 into image files with the default settings.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-pdf-pages-to-images/base64/download" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"pdf_base64":"JVBERi0xLjQKJcTl8uXrp..."}'

What you'll get back

Returns a binary file (string with format: "binary"), not a JSON object.

TRY ITLIVE · 150 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
Base64-encoded PDF content.

About this endpoint

What it does

Converts a PDF provided as base64-encoded content into image files and returns the result as a ZIP download. You can choose the image quality and output image format in the request body.

Request Body

ParameterTypeMandatoryDescription
pdf_base64StringYesBase64-encoded PDF content.
qualityENUMNoImage quality. Allowed values: low, medium, high, ultra. Default: medium.
img_formatENUMNoOutput image format. Allowed values: jpg, png. Default: jpg.

Response

Returns a binary response containing the ZIP file download.

ParameterTypeMandatoryDescription
binaryStringYesThe downloaded ZIP file content returned as binary data.

Body

Name
Type
Description
bodyREQUIRED
object
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.