# Pixo Tools PDF OCR (Google Gemini)

> Pixo Tools PDF OCR (Google Gemini) is a paid API for AI agents from api.pixo.tools, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Performs OCR on a scanned PDF using Google Gemini to extract readable text, priced per page

## Facts

- Endpoint: POST https://api.pixo.tools/v1/pdf/ocr
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pixo-tools-pdf-ocr-google-gemini-26d639dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XpEmupiiRAsWSRFfl_cUy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability pixo-tools-pdf-ocr-google-gemini-26d639dc -d '<json body>'
```

Example prompt: Can you OCR this scanned PDF for me and give me the extracted text? Here's the file — it's a scanned contract that isn't selectable.

## When to prefer this

Use this endpoint when you have a scanned or image-based PDF (not a text-selectable PDF) and need AI-powered OCR to extract the text. Prefer this over the plain text extraction endpoint (which works in-process) when the PDF is image-only or when Gemini's superior handwriting/layout recognition is needed. Choose this over the structured JSON extraction endpoint when you just want raw OCR text rather than schema-mapped data.

## Known failure modes

- File is not a valid PDF — returns 400 or format error
- PDF has no scanned/image content (already text-based) — may return empty or trivial output
- File too large or page count exceeds limits — returns 413 or quota error
- Google Gemini API unavailable — returns 502 or timeout
- Payment not completed or insufficient USDC balance — returns 402 Payment Required
- Corrupt or password-protected PDF — returns processing error

## How this service works

OCR a scanned PDF via Google Gemini — priced per page (sends content to a third party)

## Output

Returns the OCR-extracted text content recognized from the scanned PDF pages, processed via Google Gemini's vision model. Output is text data derived from the visual content of each page. Note that document content is sent to Google Gemini as a third party.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "file"
 ],
 "properties": {
  "file": {
   "type": "string",
   "description": "PDF up to 30 pages"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pixo-tools-pdf-ocr-google-gemini-26d639dc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.pixo.tools](https://www.zero.xyz/host/api.pixo.tools/llms.txt)
