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
fromLangstringSource language, two-letter language code(ISO 639-1 standard), default value: auto
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-API Keys to create your apikey.

Add your apikey to the request headers. Please refer to the examples below.

Request Example​

Response Example​

Loading...