Translate

/api/v1/ai/Translate – Translate Text into a Specified Language

Description: Translate a text into the specified language.

Method: POST

Parameters:

  • text: (string) – The text to translate.

  • isoLang: (string) – The ISO language code for the target language (e.g., fr for French).

  • responseFormat: (string) – The format of the response (e.g., text, json).

Request Example:

curl -X POST https://production.cloudbrowser.ai/api/v1/ai/Translate \
-H "Content-Type: application/json" \
-d '{
  "text": "Hello, world!",
  "isoLang": "fr",
  "responseFormat": "text"
}'

Last updated