OCR
OCR Image
Extract text from an image URL or base64 payload
POST
Runs OCR (RapidOCR/ONNX) against an image and returns the extracted text.
This same engine also runs automatically on images attached to tracked posts:
each image produces an
ocr_result event delivered through your configured
channels, keyword-filtered like any other delivery — so a keyword that only
appears inside an image still triggers a delivery.
Request
Provide exactly one of:The http(s) URL of the image to process (max 10 MB).
The image itself, as a
data: URI (data:image/png;base64,...) or a raw
base64 string.Response
text (all lines joined with newlines), lines (per-line text + score),
elapsed_ms (OCR service time), total_ms (end-to-end time).Status message describing the result
ocr_result event payload
Automatic OCR results are dispatched as their own flat events —source is
the discriminator — with ref pointing back at the originating post:
keyword_matches appears only for API keys with registered
keywords.