Skip to main content

General Text/HTML Translation

API Overview

  • The translated text by AI

API URL

Request Parameters

Body

FieldTypeExplanationRequired
formatstringOptional values: text,html
Default value: text
false
fromLangstring[object Object]
false
toLangstringTarget language, two-letter language code(ISO 639-1 standard)
true
sourceTextstringSource text, and the character count needs to be less than 5000
true

Security Auth

tip

Please go to Console-Account Center to get your apiToken.

Add your apiToken to the request parameters. Please refer to the examples below.

Request Example

Response Example

Loading...