PDF to Images

POST

/api/pdf-to-images

Convert PDF to Images

Converts a PDF file to a set of images and returns them as a ZIP file.

Request Body

pdf
Required
string

The PDF file to convert.

Format: "binary"

formatstring

The format to receive data.

Format: "links" | "zip" | undefined
Status codeDescription
200A ZIP file containing the converted images.
400Bad Request
401Unauthorized
500Internal Server Error
curl
curl --request POST \
  --url https://tinyapis.io/api/pdf-to-images \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: YOUR_API_KEY' \
  --form pdf=PDF_PATH
  --form format="links"
Example Response
"application/zip"
or
{
    "links":[
        "https://s3.com/..../.png"
    ]
}