81trust / 100
Openwebninja Image Ocr
by Vaaya in Documents & files
x402 APIPassing, checked 20 min ago
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.
POST https://vaaya.ai/api/run/openwebninja/image-ocr
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 284 ms typical, 356 ms slowest 5%
- Last check
- 20 min ago
- Next check
- in 9 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://vaaya.ai/api/run/openwebninja/image-ocr" \
-H "content-type: application/json" \
-d '{"url":"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Flag_of_the_United_States.svg/320px-Flag_of_the_United_States.svg.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%2Fvaaya.ai%2Fapi%2Frun%2Fopenwebninja%2Fimage-ocr
const res = await pay("https://vaaya.ai/api/run/openwebninja/image-ocr", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Flag_of_the_United_States.svg/320px-Flag_of_the_United_States.svg.png"}),
});
console.log(await res.json());Example input
{
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Flag_of_the_United_States.svg/320px-Flag_of_the_United_States.svg.png"
}Example output
{
"charged_cents": 1,
"data": {},
"ok": true
}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 |
|---|---|---|---|---|
| 20 min ago | Passed | 402 | 250 ms | $0.01 |
| 4 h ago | Passed | 402 | 268 ms | $0.01 |
| 8 h ago | Passed | 402 | 340 ms | $0.01 |
| 12 h ago | Passed | 402 | 276 ms | $0.01 |
| 15 h ago | Passed | 402 | 284 ms | $0.01 |
| 19 h ago | Passed | 402 | 362 ms | $0.01 |
| 22 h ago | Passed | 402 | 172 ms | $0.01 |
| 25 h ago | Passed | 402 | 356 ms | $0.01 |
| 31 h ago | Passed | 402 | 339 ms | $0.01 |