v19

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-30101814.4 KB

Translate text

Translate text from one language to another. Select the source and target languages, and get text in new language.

post/v1/translate

Headers

X-Data-Retentionboolean

Request body

sourcestring nullable

An ISO 639 code of the language you're translating from

targetstring required

An ISO 639 code of the language you want to translate to.

textstring required

The text to be translated.

tone'neutral' | 'warm' | 'professional' | 'narration'

The tone of the translated text.

formality'casual' | 'formal'

Whether to be formal or casual.

Response

Successful Response

request_idstring uuid required
textstring required