# Strale Image-to-Text

> Strale Image-to-Text is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054/call, status unknown (last checked 2026-09-15).

Converts an image (via URL or base64) into extracted text using OCR or vision-language processing, returning results with a cryptographic audit record.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/image-to-text
- Price: $0.054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-image-to-text-fa388d7c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_psEdihKnsQ9Icy-_wwDZK

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 strale-image-to-text-fa388d7c
```

Example prompt: Can you extract all the text from this image for me? Here's the URL: https://example.com/invoice-scan.jpg

## When to prefer this

Choose this endpoint when you need auditable, verifiable image-to-text extraction — particularly in compliance-sensitive workflows where a cryptographic chain hash per call matters. Suitable for agents operating across the 27 countries Strale serves, where proof-of-processing is important. Priced per-call at $0.054 USDC via x402 micropayment, making it suitable for on-demand, low-volume extraction without subscriptions.

## Known failure modes

- Invalid or inaccessible image URL returns an error
- Malformed base64 string causes parsing failure
- Image contains no readable text, returning empty result
- Image format not supported by the vision model
- Network timeout fetching remote image URL
- Missing required 'input' object in request body

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns the extracted text content from the image, along with a cryptographic audit record containing a chain hash for traceability and verification of the result.

## 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",
     "anyOf": [
      {
       "required": [
        "base64"
       ]
      },
      {
       "required": [
        "image_url"
       ]
      }
     ],
     "required": [],
     "properties": {
      "base64": {
       "type": "string",
       "description": "Base64-encoded image"
      },
      "image_url": {
       "type": "string",
       "description": "URL to image"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-image-to-text-fa388d7c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
