{"slug":"api-sitecheck-api-workers-dev-api-ocr-8639f6","title":"Reads the text of an image (JPEG, PNG, GIF or WEBP, up to 4 MB) with Llama 3.2 1","host":"api.sitecheck-api.workers.dev","method":"POST","resource":"https://api.sitecheck-api.workers.dev/api/ocr","category":"image","description":"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 t","price_listed":0.003,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:5042","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"language":"English","url":"https://dummyimage.com/400x120/000/fff.png&text=Invoice+No+4821"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"image":{"description":"Alternative: the image as base64, up to 4 MB","type":"string"},"language":{"description":"Optional hint, e.g. English or German","type":"string"},"url":{"description":"https URL of the image","type":"string"}}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"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.","last_updated":"2026-10-15T03:56:10.283Z","schemes":["exact"]}