# Vaaya Image OCR via Google Lens

> Vaaya Image OCR via Google Lens is a paid API for AI agents from vaaya.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Extracts text from an image URL using Google Lens, returning paragraph, sentence, and word-level detections with bounding boxes.

## Facts

- Endpoint: POST https://vaaya.ai/api/run/openwebninja/image-ocr?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vaaya-image-ocr-via-google-lens-2186ab15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4GQL3uB6ec2OLZB2_aXGC

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 vaaya-image-ocr-via-google-lens-2186ab15 -d '<json body>'
```

Example prompt: Can you extract all the text from this screenshot — https://example.com/screenshot.png — and give me the words with their positions in the image?

## When to prefer this

Choose this endpoint when you need cheap, fast OCR with spatial layout information (bounding boxes at word/sentence/paragraph level) from a publicly accessible image URL. It is particularly well-suited for screenshots, receipts, signs, and slides where positional context matters. Prefer it over generic OCR tools when you need Google Lens-grade recognition quality via a simple pay-per-call API without managing your own vision infrastructure.

## Known failure modes

- Invalid or inaccessible image URL returns an error (image must be publicly reachable)
- Unsupported image format may yield no detections
- Image with no discernible text returns empty detection arrays
- Language hint mismatch may reduce accuracy for non-Latin scripts
- Very low-resolution or heavily distorted images may produce incomplete or garbled text

## How this service works

Text in an image `url` via Google Lens: paragraph, sentence and word-level detections with bounding boxes. Optional `language`. Cheap OCR for screenshots, receipts, signs, slides.

## Output

Returns structured text detections from the image, organized at paragraph, sentence, and word levels, each accompanied by bounding box coordinates indicating their location within the image.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "$schema": "http://json-schema.org/draft-07/schema#",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "maxLength": 2000
      },
      "language": {
       "type": "string",
       "maxLength": 5,
       "minLength": 2
      }
     },
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "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/vaaya-image-ocr-via-google-lens-2186ab15/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vaaya.ai](https://www.zero.xyz/host/vaaya.ai/llms.txt)
