translation

Translate text from one language to another for multilingual communication, content localization, and language learning

post/models/v2/Helsinki-NLP/opus-mt-en-zh

Request body

textstring required

The input text

streamboolean

Enable text streaming.

Example request

{
  "text": "Hello"
}

Response

Successful translation response.

errorstring nullable required

Null on success; otherwise an error message.

outputstring required

Successful response with the translated text

Example response

{
  "output": "Bonjour"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.