Image To Text Price
image_to_text_priceCalculates the price for OCR text extraction from an image, using the image itself or its width and height.
Instructions
Calculate price for OCR text extraction.
Pass the image, or its width and height.
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 | |||