OCR (Extract Text)
AI-generatedSummary
Extracts text from an image using AI-powered OCR and returns the result as JSON.
Inputs
- binaryPropertyName (required) — Name of the binary property containing the file to convert
- ocrOutputFormat — Format of the OCR output
Output shape
a JSON object containing success, jobId, extracted text, tokensUsed, and processingTime
All fields are always present; text may be empty. No binary payload is returned for OCR.
Examples
Example 1: Extract plain text from an uploaded image
binaryPropertyName=data, ocrOutputFormat=txt
Example 2: Extract structured JSON from an uploaded image
binaryPropertyName=data, ocrOutputFormat=json
