Skip to content
GigAI Tools

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 - string
  • scale - integer, 1..4
  • format - 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"] }
Was this page helpful?