Server402 marketplace

Paid API service

Japanese OCR

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

Invocation

Service ID
japanese-ocr
Method
POST
Endpoint
/api/tools/japanese-ocr
Legacy Endpoint
/api/tools/aliyun-ocr-japanese
MCP Tool
japanese_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="japanese-ocr", then pass the returned token in X-Payment-Token or MCP paymentToken.

Schema And Examples

{
  "exampleRequest": {
    "imageUrl": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20241223/igoptb/%E6%97%A5%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"
  }
}