Invocation
- Service ID
english-ocr- Method
POST- Endpoint
/api/tools/english-ocr- Legacy Endpoint
/api/tools/aliyun-ocr-english- MCP Tool
english_ocr- Price
- XIAO 0.01
Paid API service
Recognize printed text from a public image URL. Use this OCR API for English document images; pass optional language and layout hints when the schema supports them.
english-ocrPOST/api/tools/english-ocr/api/tools/aliyun-ocr-englishenglish_ocrCall the endpoint without payment to receive HTTP 402 metadata. If payment is required, open xiaopay.top to obtain XIAO, create the guarantee, then retry with X-Payment-Token, an XIAO guarantee header, or MCP paymentToken.
Call POST /api/tools/english-ocr once to receive HTTP 402 with accepts[] requirements. Open https://xiaopay.top to obtain XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId, then retry with X402-Guarantee. If you need the legacy reusable token flow, create a payment with POST /api/payments using serviceId="english-ocr".
{
"exampleRequest": {
"imageUrl": "https://img.alicdn.com/tfs/TB1K2a4NVY7gK0jSZKzXXaikpXa-2060-800.jpg",
"needRotate": false,
"outputCharInfo": false,
"outputTable": false
},
"exampleResponse": {
"code": "200",
"content": "Dear Ms Jenkins",
"data": {
"content": "Dear Ms Jenkins"
},
"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"
}
}