# Aayat AI Image OCR

> Aayat AI Image OCR is a paid API for AI agents from aayatai.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Extracts text from images (screenshots, photos, receipts, slides, scanned pages) via OCR and returns the text in reading order with a flag indicating whether any text was found

## Facts

- Endpoint: GET https://aayatai.com/image/ocr?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-image-ocr-696d7d38
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f3SSpkdSA0GKHEzubDSvi

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 aayat-ai-image-ocr-696d7d38
```

Example prompt: Can you read all the text from this image for me? Here's the public URL: https://example.com/receipt.jpg — I need it in reading order with line breaks.

## When to prefer this

Choose this endpoint when you need fast, pay-per-use OCR on a single public image URL without setting up your own vision model infrastructure. It is especially useful for AI agents handling receipts, screenshots, scanned documents, signs, or slides where text needs to be extracted programmatically. At $0.01 per call it is cost-effective for sporadic or on-demand extraction tasks within agentic workflows that already use the x402 payment protocol.

## Known failure modes

- Image URL is not publicly accessible — returns an error or empty result
- Image format not supported (must be JPEG, PNG, GIF, or WebP) — request rejected
- Image exceeds 5 MB size limit — request rejected
- Image contains no readable text — returns hasText: false with empty text string
- Network timeout fetching the remote image URL — error response
- Malformed or invalid URL provided — validation error

## How this service works

Read the text in an image (OCR): screenshots, photos of signs, receipts, slides, scanned pages. Returns the text in reading order with line breaks, and whether any text was found. JPEG, PNG, GIF or WebP up to 5 MB from a public URL.

## Output

Returns the full extracted text in reading order with line breaks preserved, a boolean 'hasText' flag indicating whether any text was detected, the source image URL, and the model name used for OCR.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "maxLength": 2048,
       "description": "Public image URL (JPEG, PNG, GIF or WebP, up to 5 MB)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "text",
      "hasText",
      "model"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "text": {
       "type": "string"
      },
      "model": {
       "type": "string"
      },
      "trust": {
       "type": "object",
       "description": "Third-party text, cleaned: read trust.notice; removed = what we stripped."
      },
      "hasText": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-image-ocr-696d7d38/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
