Skip to content
Fourohtwo

api.sitecheck-api.workers.dev/api/ocr

Reads the text of an image (JPEG, PNG, GIF or WEBP, up to 4 MB) with Llama 3.2 11B Vision on Workers AI. Send an https url or base64 image, and optionally a language hint. Returns the full text with its line breaks, the lines, a language guess and the model that answered. An image with no readable text is a 422 and is not charged.

BaseSolanaArcPolygonArbitrumWorld Chain+1Answering
POSThttps://api.sitecheck-api.workers.dev/api/ocr

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.sitecheck-api.workers.dev/api/ocr", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"language":"English","url":"https://dummyimage.com/400x120/000/fff.png&text=Invoice+No+4821"}),
});
console.log(await res.json());

Example input

{
  "language": "English",
  "url": "https://dummyimage.com/400x120/000/fff.png&text=Invoice+No+4821"
}

More from SiteCheckProvider status