Authorizations
API token from your organization settings
Body
application/json
The language code to translate to (e.g., "fr-FR", "es-ES", "de-DE")
Example:
"fr-FR"
The language code of the source text (e.g., "en-US", "fr-FR", "es-ES")
Example:
"en-US"
Array of text strings to translate
Example:
[
"Welcome to our application",
"Click here to get started",
"Your account has been created successfully"
]
Use organization description for context
Use organization glossary for consistent terminology
Use similarity matching for better translations
Use custom translation instructions
Source of custom instructions
Bundle name for instructions
Repository name for instructions
Additional custom instructions
Response
Translations generated successfully
The response is of type string[]
.