Skip to content
Fourohtwo

OCR for agents

voice.madebydevx.com/v1/ocr

OCR for agents: send an image URL or base64 (PNG, JPEG, WebP, GIF; up to 3 MB) and get the text it contains in reading order, as plain text or Markdown (tables, lists). Works on screenshots, receipts, invoices, signs and documents. $0.002 USDC per image on Base; images with no readable text are not charged. Gemma 4 vision. By DevX.

AvalancheAnswering
POSThttps://voice.madebydevx.com/v1/ocr

Uptime100% of 4 checks in 30 days

30 days agoToday

Call it from an agent

import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";

const pay = wrapFetchWithPayment(fetch, privateKeyToAccount(process.env.AGENT_KEY));
const res = await pay("https://voice.madebydevx.com/v1/ocr", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"image_url":"https://voice.madebydevx.com/samples/invoice.png"}),
});
console.log(await res.json());

Example input

{
  "image_url": "https://voice.madebydevx.com/samples/invoice.png"
}

More from DevX VoiceProvider status