Convert any image to a PDF without losing quality with one API call.
Image to PDF is a hosted API from ApyHub that converts image files, base64-encoded image data, or remote image URLs into PDF output. It exposes six POST endpoints covering three input methods (file upload, base64 string, remote URL) and two output modes (binary PDF download or a JSON response containing a signed link to the generated PDF). File- and URL-based conversions support an optional landscape parameter to control page orientation.
The upload path accepts PNG, JPEG, GIF, SVG, TIFF, and BMP formats, with a 100MB limit per request across combined files. Larger inputs are directed to the URL-based endpoint instead.
The service is intended for applications that need to produce PDFs from images without building a rendering pipeline themselves, such as assembling image-based reports, archiving receipts, or packaging visual assets for sharing and storage. It suits apps that already store images in object storage or receive them via client upload and need to convert those images to PDF as part of a document workflow.
It accepts PNG, JPEG, JPG, GIF, SVG, TIFF, and BMP files on the upload path, plus base64-encoded images or remote image URLs.
Uploads are capped at 100MB total per request; for larger files, the URL-based endpoint is recommended instead.
Yes, separate link endpoints return a JSON object with a data field containing a signed URI to the generated PDF, instead of returning binary PDF data.
Requests are authenticated using an apy-token header sent with each API call.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Dynamically generate images and PDFs from templates with a simple API.
This API helps you change the background of any image.
Photo optimization and resize.
Image manipulation and processing.
Generate, Edit, Scale and Manage Images and Videos Smarter & Faster.
Generate Hundreds of Personalized Images in Minutes.