AI OCR: scanned PDF or image to Markdown
doc_ocrAI OCR of a scanned PDF (up to 10 pages, 5 MB) or a PNG, JPEG or WebP image (up to 7.5 MB) at a public URL: printed text, tables, headings, lists, checkboxes and legible handwriting transcribed to Markdown page by page, with page count, file type, size and image dimensions. For scans, photos, screenshots, receipts and forms without a text layer. AI-generated by Anthropic Claude under a fixed Kit Rx prompt; transcription can misread characters. URL fetch is SSRF-guarded. Price: $0.02 per successful call, paid in USDC with x402 v2; failed calls and calls that match nothing are not charged. AI-generated answer; a call with no arguments returns the stored example answer without a model call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "doc_ocr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http or https URL of a PDF (at most 10 pages and 5 MB) or a PNG, JPEG or WebP image (at most 7.5 MB and 8000 x 8000 px). Default ports only; credentials, IP addresses, localhost and private or single-label names are rejected. |