61trust / 100
Image Ocr
by Aayat AI in Documents & files
x402 APIFailing, checked 3 min ago
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.
GET https://aayatai.com/image/ocr
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 33.3%
- Response time
- 43 ms typical, 43 ms slowest 5%
- Last check
- 3 min ago: Expected HTTP 402, got 410
- Next check
- in 14 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/image/ocr?url=https%3A%2F%2Faayatai.com%2Fexamples%2Fsign.png"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Fimage%2Focr
const res = await pay("https://aayatai.com/image/ocr?url=https%3A%2F%2Faayatai.com%2Fexamples%2Fsign.png");
console.log(await res.json());Example input
{
"url": "https://aayatai.com/examples/sign.png"
}Example output
{
"hasText": true,
"model": "@cf/meta/llama-3.2-11b-vision-instruct",
"text": "OPEN\nMon–Fri 9am – 5pm\nAayat AI example sign",
"url": "https://aayatai.com/examples/sign.png"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 min ago | Expected HTTP 402, got 410 | 410 | 39 ms | - |
| 3 h ago | Expected HTTP 402, got 410 | 410 | 39 ms | - |
| 8 h ago | Passed | 402 | 43 ms | $0.01 |