LiveKit docs › Models › TTS › Additional models › Camb.ai

---

# Camb.ai TTS plugin guide

> How to use the Camb.ai TTS plugin for LiveKit Agents.

Available in:
- [ ] Node.js
- [x] Python

## Overview

This plugin allows you to use [Camb.ai](https://www.camb.ai/text-to-speech/english) as a TTS provider for your voice agents.

### Installation

Install the plugin from PyPI:

**Python**:

```bash
pip install "livekit-agents[cambai]~=1.5"

```

### Authentication

The Camb.ai plugin requires a [Camb.ai API key](https://studio.camb.ai/public/onboarding).

Set `CAMB_API_KEY` in your `.env` file.

### Usage

Use Camb.ai TTS in an `AgentSession` or as a standalone speech generator. For example, you can use this TTS in the [Voice AI quickstart](https://docs.livekit.io/agents/start/voice-ai.md).

**Python**:

```python
from livekit.plugins import cambai

session = AgentSession(
  tts = cambai.TTS(
    model="mars-flash",
    voice=147320,
  ),
  # ... llm, stt, etc.
)

```

### Parameters

This section describes some of the available parameters. See the plugin reference links in the [Additional resources](#additional-resources) section for a complete list of all available parameters.

- **`model`** _(SpeechModel)_ (optional) - Default: `mars-flash`: ID of the model to use for speech generation. To learn more, see [official documentation](https://docs.camb.ai/tutorials/direct-api#request-parameters).

- **`voice`** _(int)_ (optional) - Default: `147320`: ID of the voice used for speech generation. To retrieve available voice IDs, see [official documentation](https://docs.camb.ai/tutorials/direct-api#listing-voices).

## Additional resources

The following resources provide more information about using Camb.ai with LiveKit Agents.

- **[Camb.ai docs](https://docs.camb.ai/tutorials/direct-api)**: Camb.ai TTS docs.

- **[Voice AI quickstart](https://docs.livekit.io/agents/start/voice-ai.md)**: Get started with LiveKit Agents and Camb.ai TTS.

---

This document was rendered at 2026-06-07T11:35:50.672Z.
For the latest version of this document, see [https://docs.livekit.io/agents/models/tts/cambai.md](https://docs.livekit.io/agents/models/tts/cambai.md).

To explore all LiveKit documentation, see [llms.txt](https://docs.livekit.io/llms.txt).