Recognize Image
recognize_image识别图片中的文字(png/jpg/webp/bmp,≤20MB,公网 URL),同步返回逐行文本。 tier:standard 标准档(快速,适合清晰打印件/截图);accurate 精准档(表格、多栏、倾斜拍摄等复杂版面)。 prompt 仅精准档生效:自定义识别指令(如「只提取表格金额列」),≤2000 字符,缺省识别全部文字。 计费按页(单图=1 页,约 0.5~1.5 分/页)。
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_url": "<image_url>",
"tier": "<tier>"
},
"name": "recognize_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes | ||
| prompt | No | ||
| image_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||