Translate
Translate text from one language to another.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
text
The text to translate.
source_lang
The source language of the text.
target_lang
The target language for the translation.
use_third_party_engine
Enables/disables third party translations.
Response
Successful response.
id
Unique ID for the translation.
object
Type of object (translation).
created
Timestamp of when the translation was created.
best_translation
The best translation of the input text.
best_score
The best score for the best translation.
best_translation_model
The model used for the best translation.
translations
The set translations from different models.