Skip to content
GigAI Tools

Developer API / docs

PDF to Text API

Extract the text layer of a PDF to plain text, one blank line between pages. Scanned pages without a text layer come out empty - this is extraction, not OCR.

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

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

Options

No options - the input file is everything.

Limits

  • Input: pdf (one file, checked by content, never by extension).
  • Max input size: 100 MB.
  • Output: txt.
  • 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-text", "input": ["previous-task"] }
Was this page helpful?