{"uid":"cap_r704PE0r9_rapIZhCscNr","slug":"image-ocr-extract-printed-handwritten-text-db4fc640","name":"Image OCR – Extract Printed & Handwritten Text","description":"Extract printed and handwritten text from a supplied image using OCR.","url":"https://manyfish-seller.redcliff-d7368db1.westus2.azurecontainerapps.io/api/v1/image/ocr","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"locale":{"type":"string","pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$","maxLength":32,"minLength":2},"contentType":{"enum":["image/jpeg","image/png"]},"imageBase64":{"type":"string","pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$","maxLength":13981016,"minLength":8}}},"responseSchema":{"type":"json","example":{"text":"HELLO","image":{"width":200,"height":120,"contentType":"image/png"},"lines":[{"text":"HELLO","polygon":[70,40,180,40,180,75,70,75]}],"textCharacters":5}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aAE1jJGxuD3kkUwt28bHg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts printed and handwritten text from a supplied image using optical character recognition (OCR).","exampleAgentPrompt":"Can you read all the text out of this JPEG image I'm uploading? It contains both printed and handwritten English notes — extract everything you can find in it.","exampleUseCases":[{"title":"Digitize handwritten field notes","prompt":"I've got a photo of handwritten lab notes taken in the field — can you extract all the text from this JPEG so I can paste it into my report?"},{"title":"Extract text from a scanned form","prompt":"I scanned a paper intake form and saved it as a PNG — can you pull out all the printed text from the image so I can import the data into our system?"},{"title":"Read text from a screenshot","prompt":"I have a PNG screenshot of an error message on my screen — can you extract the exact text from the image so I can search for a solution?"}],"resultDescription":"Returns the recognized text content extracted from the image, covering both printed and handwritten regions, structured as an OCR result with the identified character sequences.","failureModes":["Image is too large (base64 exceeds ~10MB limit) — returns validation error","Unsupported content type (not image/jpeg or image/png) — rejected by enum validation","Malformed base64 string — fails pattern validation","Image quality too low or text too small/blurry for OCR to recognize — returns empty or partial text","Invalid locale format — fails regex pattern validation"],"whenToPreferThis":"Choose this endpoint when you need to extract text from a raster image (JPEG or PNG) containing printed or handwritten content. Use this over the PDF OCR sibling endpoint when your source is an image file rather than a PDF. Prefer this over the image-to-Markdown endpoint when you want raw OCR text without document structure conversion, or when the image is not a document-style scan.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:41:25.282Z","isFirstParty":false}