doc_ocr
OCR for AI agents, $0.20 per image: scans, photos and screenshots (PNG, JPEG, WebP, GIF, max 5 MB) to exact text with line breaks and reading order preserved. One call: send a url or base64 — no upload step, no polling. No text found means a 400 and you pay nothing. USDC on Base, no account, no API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | http(s) link to the file; we fetch it. Send this OR file_base64. | |
| filename | No | Optional original filename of file_base64 (its extension helps detect the type) | |
| media_type | No | Optional MIME type of file_base64 (helps tell DOCX/XLSX apart) | |
| file_base64 | No | The file bytes, base64-encoded. Send this OR url. |