> ## Documentation Index
> Fetch the complete documentation index at: https://visionagents.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ElevenLabs TTS

[ElevenLabs](https://www.elevenlabs.io) provides highly realistic and expressive text-to-speech voices. Supports multiple languages and voice styles.

> [!NOTE]
>
> Vision Agents uses [Stream Video](https://getstream.io/video/) for real-time WebRTC transport by default. [External WebRTC transports](https://visionagents.ai/integrations/introduction-to-integrations.md#edge-transport) are supported as well. Most AI providers offer free tiers to get started.

> [!TIP]
>
> ElevenLabs also provides real-time [speech-to-text](https://visionagents.ai/integrations/stt/elevenlabs.md) via Scribe with built-in turn detection. You can use both in the same agent.

## Installation

```sh theme={null}
uv add "vision-agents[elevenlabs]"
```

## Quick Start

```python theme={null}
from vision_agents.core import Agent, User
from vision_agents.plugins import elevenlabs, gemini, deepgram, getstream

agent = Agent(
    edge=getstream.Edge(),
    agent_user=User(name="Assistant", id="agent"),
    instructions="You are a helpful assistant.",
    llm=gemini.LLM("gemini-3-flash-preview"),
    stt=deepgram.STT(),
    tts=elevenlabs.TTS(),
)
```

> [!WARNING]
>
> Set `ELEVENLABS_API_KEY` in your environment or pass `api_key` directly.

## Parameters

```python theme={null}
tts = elevenlabs.TTS(
    voice_id="VR6AewLTigWG4xSOukaG",
    model_id="eleven_multilingual_v2",
)
```

| Name | Type | Default | Description |
| - | - | - | - |
| `voice_id` | `str` | `"VR6AewLTigWG4xSOukaG"` | ElevenLabs voice ID |
| `model_id` | `str` | `"eleven_multilingual_v2"` | TTS model |
| `api_key` | `str` | `None` | API key (defaults to `ELEVENLABS_API_KEY` env var) |

## Next Steps

> [card] [ElevenLabs STT](https://visionagents.ai/integrations/stt/elevenlabs.md)
>
> Real-time speech-to-text via Scribe

> [card] [Build a Voice Agent](https://visionagents.ai/introduction/voice-agents.md)
>
> Get started with voice


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.