# pagos.andreax.dev Documento Inteligente – OCR + Summarize + Translate Pipeline

> pagos.andreax.dev Documento Inteligente – OCR + Summarize + Translate Pipeline is a paid API for AI agents from pagos.andreax.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Accepts an image or PDF, extracts its text via OCR, summarizes it, and translates the summary into a target language — all in a single API call.

## Facts

- Endpoint: GET https://pagos.andreax.dev/api/taller/peaje/documento-inteligente
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pagos-andreax-dev-documento-inteligente-ocr-summarize-translate-08985e76
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_772iO1HqV449WQ3GYDrTG

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 pagos-andreax-dev-documento-inteligente-ocr-summarize-translate-08985e76
```

Example prompt: Take this PDF of a Spanish contract I just uploaded, extract all the text from it, summarize it, and translate the summary into English for me.

## When to prefer this

Choose this endpoint when you need a full document-understanding pipeline (OCR → summarize → translate) in a single call rather than orchestrating separate OCR, summarization, and translation services. Ideal for agents processing invoices, contracts, letters, or academic papers in any language, especially when the target language differs from the source document.

## Known failure modes

- Unreadable or low-quality scans may produce poor OCR output with garbled text
- Unsupported file formats beyond image and PDF will cause errors
- Very large files may time out or be rejected
- Invalid ISO language code for 'idioma' may default to English or return an error
- Base64-encoded input that is malformed will cause a decoding failure
- Payment not attached or insufficient USDC balance will result in a 402 response

## How this service works

PIPELINE premium en una sola llamada: toma una imagen o PDF, extrae su texto (OCR), lo resume y traduce el resumen al idioma destino. Para agentes que necesitan 'entender un documento' de punta a punta (facturas, contratos, cartas, papers) sin orquestar varios servicios. Sube el archivo por multipart ('archivo') o como 'archivo_b64'. Opcional 'idioma' destino (def 'en').

## Output

Returns the OCR-extracted text from the document, a natural-language summary of that content, and a translation of the summary into the requested target language — all in one response payload.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "archivo_b64"
     ],
     "properties": {
      "idioma": {
       "type": "string",
       "description": "Idioma destino de la traducción (ISO, def 'en')"
      },
      "archivo_b64": {
       "type": "string",
       "description": "Imagen/PDF en base64 (o subir 'archivo' por multipart)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pagos-andreax-dev-documento-inteligente-ocr-summarize-translate-08985e76/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pagos.andreax.dev](https://www.zero.xyz/host/pagos.andreax.dev/llms.txt)
