Skip to content
GigAI Tools

Developer API / docs

OCR PDF (33 languages) API

Extract text from scanned or image-based PDFs with OCR in 33 languages: English, Hindi and other Devanagari scripts, Arabic, Chinese, Japanese, Korean, Tamil, Telugu, Bengali, Urdu and more. format=text gives reading-order plain text, format=json gives every token with its position - the raw material for building spreadsheets from scanned tables.

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

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

Options

  • langs - string
  • format - string, one of text, json

Limits

  • Input: pdf (one file, checked by content, never by extension).
  • Max input size: 30 MB.
  • Output: txt, json.
  • Time budget: 600 seconds, then the task fails with the timeout code.
  • Engine: tesseract.

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": "ocr-pdf", "input": ["previous-task"] }
Was this page helpful?