How do I render a pdf via API?

You can render your template as a PDF by adding the {render_pdf: true} flag to your request. The API will return the following:

  • pdf_url - Higher quality file, great for printing, but relatively uncompressed which results in larger file size.
  • pdf_url_compressed -  Significantly smaller file size, with very little reduction in visual quality (results may vary).

Here's an example rendered by Bannerbear:
PNG Version (Rasterized)
PDF Version (Vector)

Click to view PDF:

Note: This feature uses 3x image quota

Need Help?

Contact us anytime

Customer Support