> ## 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

> TypeScript 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.

```ts theme={null}
import { ElevenLabsTTS } from '@zeroruntime/js-sdk/plugins';  // direct to the vendor, with your key
```

### Options

<ParamField path="model" type="string" default="eleven_turbo_v2" />

<ParamField path="voice" type="string" default="21m00Tcm4TlvDq8ikWAM" />

<ParamField path="speed" type="number" default="1" />

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

<ParamField path="voice_settings" type="Record<string, any> | null" default="null" />

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

<ParamField path="enable_streaming" type="boolean" default="true" />

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

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

<ParamField path="enable_ssml_parsing" type="boolean" default="false" />

<ParamField path="apply_text_normalization" type="'auto' | 'on' | 'off'" default="auto" />

<ParamField path="auto_mode" type="boolean" default="true" />

<ParamField path="word_timestamps" type="boolean" default="false" />
