Images to PDF (one image per page)
images_to_pdfImages to PDF (one image per page). Turns 1 to 20 PNG/JPEG images into a PDF. page_size "auto" makes each page the size of its image; A4, A3, A5, Letter, Legal or Tabloid fit the image inside.
Costs 1 credit per call.
Returns a temporary download link (valid 15 minutes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| images | Yes | The images to include, one per page and in order: 1 to 20 base64-encoded PNG or JPEG strings (about 4 MB in total). | |
| page_size | No | Page size: "auto" (default: each page matches its image), "A4", "A3", "A5", "Letter", "Legal" or "Tabloid". | auto |