Can I generate PDFs with an image automation API?
Yes. The same template that renders an image can output a PDF instead. You send your data to the API and choose PDF as the format, and the API returns a hosted PDF file. This works for both single-page and multi-page documents.
How PDF output works
You design a template with named layers, just as you would for an image. When you call the render endpoint, you set the output format to PDF and pass the values for those layers. The API fills the template and returns a link to the finished PDF. Nothing about the template changes between an image render and a PDF render, only the format you request.
Multi-page PDFs
A PDF can hold more than one page, and each page can be filled by different data. This lets you generate a full document from a single template, for example a multi-page report or a batch of certificates in one file. Each page is rendered from the same layout with its own set of values.
What PDF output is good for
PDF suits any output that is meant to be downloaded or printed rather than displayed on screen:
- Certificates for course or event completion
- Invoices and receipts
- Event tickets and passes
- Simple reports and summaries
How credits apply
PDF output is billed by the page. One credit equals one PDF page, so a three-page PDF uses three credits. This is the same credit system used for images and video, which keeps cost easy to predict.
A note on scope
This is for generating new PDFs from a template. It is not a tool for editing or filling existing PDF files, so if you need to modify a PDF you already have, a dedicated PDF library is a better fit.
Try it with your own data
Create a free account and render your first image in minutes. 50 render credits, no credit card required.