Image To Text Price
image_to_text_priceCalculate price for OCR text extraction.
Pass the image, or its width and height.
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": {
"model": "<model>"
},
"name": "image_to_text_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | Image to quote (URL, data URI or base64); its size is read from it | |
| model | Yes | OCR model name | |
| width | No | Image width in pixels (required if image not provided) | |
| height | No | Image height in pixels (required if image not provided) | |
| language | No | Language code (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||