Server402 marketplace

Paid API service

Multilingual OCR

Recognize printed text from a public image URL. Use this OCR API for mixed or unknown-language images; pass optional language and layout hints when the schema supports them.

Invocation

Service ID
multilingual-ocr
Method
POST
Endpoint
/api/tools/multilingual-ocr
Legacy Endpoint
/api/tools/aliyun-multilang-ocr
MCP Tool
multilingual_ocr
Price
USD 0.20

Payment

Call 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="multilingual-ocr", then pass the returned token in X-Payment-Token or MCP paymentToken.

Schema And Examples

{
  "exampleRequest": {
    "imageUrl": "https://img.alicdn.com/tfs/TB1Wo7eXAvoK1RjSZFDXXXY3pXa-2512-3509.jpg",
    "languages": [
      "eng",
      "chn"
    ],
    "needRotate": false,
    "needSortPage": false,
    "outputCharInfo": false,
    "outputTable": false
  },
  "exampleResponse": {
    "code": "200",
    "content": "PACKING Shipper/Export Invoice No \u0026 Date",
    "data": {
      "content": "PACKING Shipper/Export Invoice No \u0026 Date"
    },
    "message": "success",
    "requestId": "example-request-id"
  },
  "inputSchema": {
    "properties": {
      "imageUrl": {
        "format": "uri",
        "type": "string"
      },
      "languages": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "needRotate": {
        "type": "boolean"
      },
      "needSortPage": {
        "type": "boolean"
      },
      "outputCharInfo": {
        "type": "boolean"
      },
      "outputTable": {
        "type": "boolean"
      }
    },
    "required": [
      "imageUrl",
      "languages"
    ],
    "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"
  }
}