Developer API / docs
PDF to JPG API
Render PDF pages to images, one file per page. 'pages' like "1-3", at most 20 per task.
POSThttps://api.gigai.tools/v1/jobsAsync
Runs as the pdf-to-jpg operation inside a job. Needs a key with the jobs:write scope. Try it in the browser
Options
pages- stringscale- integer, 1..4format- string, one of jpg, png
Limits
- Input: pdf (one file, checked by content, never by extension).
- Max input size: 50 MB.
- Output: jpg, png.
- Time budget: 120 seconds, then the task fails with the timeout code.
- Engine: pdf.js.
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": "pdf-to-jpg", "input": ["previous-task"] }Errors this tool returns
invalid_input, invalid_option, file_too_large, timeout. The full list with fixes is on the errors page.
Was this page helpful?