Skip to main content

Overview

Generate speech with different language accents. The language parameter controls the accent/pronunciation style of the output — see Language Support for the full per-model locale list. The TTS API speaks the text you provide - it does not translate. To speak in a different language, provide input text in that language. For automatic translation + speech, use the Translated TTS API.

Hear the Difference

Same text, different accents - all with the same voice:

Prerequisites

1

Create an account

Sign up at CAMB.AI Studio if you haven’t already.
2

Get your API key

Go to Settings → API Keys in Studio and copy your key. See Authentication for details.
3

Install the SDK

Skip this step if you’re using the direct API.
4

Set your API key to use in your code


Code


Supported Accents

Over 140 language accents are supported across CAMB.AI TTS. Common codes: See API Reference for the broader TTS language list. If you are using POST /tts-stream, check the streaming API reference for endpoint-specific support and model-specific constraints.

Use Cases


Next Steps

Emotional Voice Control

Add emotional expression and character to your speech with mars-instruct.

Translated TTS

Translate text and generate speech in the target language.

Voice Cloning

Clone a voice from reference audio.

Text to Sound Effects

Generate sound effects and music from text.

API Reference

Full TTS streaming API specification.