Invocation
- Service ID
thai-ocr- Method
POST- Endpoint
/api/tools/thai-ocr- Legacy Endpoint
/api/tools/aliyun-ocr-thai- MCP Tool
thai_ocr- Price
- USD 0.20
Paid API service
Recognize printed text from a public image URL. Use this OCR API for Thai document images; pass optional language and layout hints when the schema supports them.
thai-ocrPOST/api/tools/thai-ocr/api/tools/aliyun-ocr-thaithai_ocrCall the endpoint without payment to receive HTTP 402 metadata. After payment is complete, retry with X-Payment-Token, an x402 payment signature, or MCP paymentToken.
Create a payment with POST /api/payments using serviceId="thai-ocr", then pass the returned token in X-Payment-Token or MCP paymentToken.
{
"exampleRequest": {
"imageUrl": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20241218/utgxmk/%E6%B3%B0%E8%AF%AD%E8%AF%86%E5%88%AB.png",
"needRotate": false,
"outputCharInfo": false,
"outputTable": false
},
"exampleResponse": {
"code": "200",
"content": "เริมเห็นผิวที่เรียบเบียน",
"data": {
"content": "เริมเห็นผิวที่เรียบเบียน"
},
"message": "success",
"requestId": "example-request-id"
},
"inputSchema": {
"properties": {
"imageUrl": {
"format": "uri",
"type": "string"
},
"needRotate": {
"type": "boolean"
},
"outputCharInfo": {
"type": "boolean"
},
"outputTable": {
"type": "boolean"
}
},
"required": [
"imageUrl"
],
"type": "object"
},
"outputSchema": {
"properties": {
"code": {
"type": "string"
},
"content": {
"type": "string"
},
"data": {
"type": "object"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
}
},
"required": [
"requestId",
"content",
"data"
],
"type": "object"
}
}