Image To Text
image_to_textExtract text from image using OCR (Optical Character Recognition).
Reads text from images like documents, screenshots, signs, etc.
Available models:
LightOnOcr_3_4B_Q8: input size=128-4096x127-4096Nanonets_Ocr_S_F16: input size=128-4096x127-4096
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": {
"image": "<image>",
"model": "<model>"
},
"name": "image_to_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image file (base64 encoded or URL) | |
| model | Yes | OCR model (e.g., 'Nanonets_Ocr_S_F16') | |
| format | No | Output format: 'text' or 'json' | text |
| language | No | Language code for OCR (e.g., 'en', 'es', 'fr') - optional | |
| webhook_url | No | HTTPS URL for deAPI to call when this job finishes. Notifies your own systems; the tool still returns the result here | |
| webhook_secret | No | 32-255 char key deAPI signs the callback with (HMAC-SHA256). Needs webhook_url. A secret given in chat stays in the transcript | |
| return_result_in_response | No | Return the extracted text inline in 'result'. Set to False to get only a download URL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||