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

# Elevenlabs

> Python API reference for the elevenlabs text-to-speech provider.

<Card title="Usage guide" icon="book" href="/plugins/tts/elevenlabs" horizontal>
  Setup, environment variables, and Python/JavaScript/Go usage examples.
</Card>

## ElevenLabsTTS

Initialize the ElevenLabs TTS plugin.

Slot: tts. Route: plugins -- direct to the vendor, with ELEVENLABS\_API\_KEY
or an explicit api\_key.

```python theme={null}
from zeroruntime.plugins import ElevenLabsTTS  # direct to the vendor, with your key
```

### Fields

<ParamField path="model" type="str" default="eleven_flash_v2_5'; pinned" />

<ParamField path="voice" type="str" default="ErXwobaYiN019PkySvjV'; pinned" />

<ParamField path="speed" type="float" default="1.0" />

<ParamField path="response_format" type="str" default="pcm_24000" />

<ParamField path="voice_settings" type="Mapping[str, Any] | None" default="UNSET" />

<ParamField path="base_url" type="str" default="https://api.elevenlabs.io/v1" />

<ParamField path="enable_streaming" type="bool" default="True" />

<ParamField path="inactivity_timeout" type="int" default="300" />

<ParamField path="language" type="str" default="en" />

<ParamField path="enable_ssml_parsing" type="bool" default="False" />

<ParamField path="apply_text_normalization" type="Literal['auto', 'on', 'off']" default="UNSET" />

<ParamField path="auto_mode" type="bool" default="True" />

<ParamField path="word_timestamps" type="bool" default="False" />
