Tool detail
Image OCR
Extracts text from a PNG/JPEG image via on-device Tesseract OCR, given as a URL or base64, returning full text, confidence and per-line bounding boxes.
Categories: Document processing
Use when
- get the text out of a screenshot, scan or photo
- OCR an image given as a URL or base64 payload
Not for
- not PDF OCR - image formats (PNG/JPEG) only
- not other languages by default - English unless requested
Inputs
POST JSON body: image (base64 PNG/JPEG) or url (HTTPS, max 8MB) - one required; lang (ISO 639-2, optional, default eng).
Admitted input schema
{
"type": "object",
"properties": {
"image": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Base64 PNG/JPEG (data: URL prefix accepted). Either this or url is required."
},
"lang": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Language code, ISO 639-2. Default 'eng'. Supported: eng, spa, fra, deu, ita, por, nld, rus, pol, tur, chi_sim, chi_tra, jpn, kor, ara, hin, tha, vie, ukr, ell."
},
"url": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "HTTPS URL to fetch the image from (max 8 MB). Either this or image is required."
}
},
"required": [],
"additionalProperties": false
}Endpoint
- Method
POST- URL
https://agent402.tools/api/image-ocr
Payment
- Protocol
- x402
- Listed price
- 0.01 USDC per request on Base
- Payment method
- exact
- Network
- eip155:8453
- Asset
- 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.
Source
- Directory
- Coinbase x402 Bazaar
- Record
- POST https://agent402.tools/api/image-ocr
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z