Tools

Image Text Recognition

Recognize Chinese or Latin text from an image URL, base64 input, or uploaded file.

post/v1/tools/image-text

Request

  • Base URL: https://ecommercedataapi.com
  • URL: https://ecommercedataapi.com/v1/tools/image-text
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Request body

type0 | 1 | 2 required

Input source type.

fn'CHINESE' | 'LATIN' required

Recognition language.

urlstring

Public image URL.

base64string

Base64-encoded image content.

Example request

{
  "type": 2,
  "fn": "CHINESE",
  "url": "https://m.media-amazon.com/images/I/71NQ9P7yLIL.jpg",
  "base64": "iVBORw0KGgoAAAANSUhEUg..."
}

Response

Image Text Recognition response.

request_idstring uuid required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.