Endpoints
Translate Text
Translates input text to the target language.
POST
Headers
Your subscription key
Body
application/json
Input text to be translated
Source language code
Available options:
en-IN
Target language code
Available options:
hi-IN
, bn-IN
, kn-IN
, ml-IN
, mr-IN
, od-IN
, pa-IN
, ta-IN
, te-IN
, gu-IN
This will enable custom preprocessing of the input text which can result in better translations.
Whether the translation is formal or colloquial
Available options:
formal
, code-mixed
Model to be used for translation
Available options:
mayura:v1
Please specify the gender of the speaker for better translations. This feature is only supported for the code-mixed translation models currently.
Available options:
Male
, Female
Response
200 - application/json
Translated text