Translate Text
translate
Translate Text
Translate single or batch texts. Source language is auto-detected when not specified.
POST
Translate Text
Authorizations
Authenticate using X-Api-Key header
Body
application/json
Text translation request
Texts to translate (max 100 items / 50,000 characters)
Example:
["第一句", "第二句"]Target language (ISO 639-1, required)
Example:
"en"
Translation model ID (e.g. vn-translate-basic).
Example:
"vn-translate-basic"
Source language (ISO 639-1). Omit for automatic detection; providing this forces the source language.
Example:
"zh"