Skip to content
GigAI Tools

Developer API / docs

Images to PDF API

Combine images into a PDF, one page per image, in input order. page=a4 centers each image on A4.

POSThttps://api.gigai.tools/v1/jobsAsync

Runs as the image-to-pdf operation inside a job. Needs a key with the jobs:write scope.

Options

  • page - string, one of auto, a4

Limits

  • Input: png, jpg, webp, avif, gif (several files, checked by content, never by extension).
  • Max input size: 50 MB.
  • Output: pdf.
  • Time budget: 120 seconds, then the task fails with the timeout code.
  • Engine: pdf-lib.

Inside a bigger job

Chain it: any task can consume this one's output by naming it in input. The recipes show working pipelines.

as one task in a graph

"step": { "operation": "image-to-pdf", "input": ["previous-task"] }
Was this page helpful?