Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api-reference/server/services/tts/elevenlabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export ELEVENLABS_API_KEY=your_api_key
`settings=ElevenLabsTTSService.Settings(voice=...)` instead._
</ParamField>

<ParamField path="model" type="str" default="eleven_turbo_v2_5" deprecated>
<ParamField path="model" type="str" default="eleven_flash_v2_5" deprecated>
ElevenLabs model ID. Use a `multilingual` model variant (e.g.
`eleven_multilingual_v2`) if you need non-English language support.
_Deprecated in v0.0.105. Use
Expand Down Expand Up @@ -242,7 +242,7 @@ async with aiohttp.ClientSession() as session:

## Notes

- **Multilingual models required for `language`**: Setting `language` with a non-multilingual model (e.g. `eleven_turbo_v2_5`) has no effect. Use `eleven_multilingual_v2` or similar.
- **Multilingual models required for `language`**: Setting `language` with a non-multilingual model (e.g. `eleven_flash_v2_5`) has no effect. Use `eleven_multilingual_v2` or similar.
- **WebSocket vs HTTP**: The WebSocket service supports word-level timestamps and interruption handling, making it significantly better for interactive conversations. The HTTP service is simpler but lacks these features.
- **Text aggregation**: Sentence aggregation is enabled by default (`text_aggregation_mode=TextAggregationMode.SENTENCE`). Buffering until sentence boundaries produces more natural speech. Set `text_aggregation_mode=TextAggregationMode.TOKEN` to stream tokens directly for lower latency. The `auto_mode` parameter is automatically configured based on the aggregation mode for optimal quality.
- **Word timestamp accuracy**: Word timestamps reflect the original input text by default, preserving non-Latin scripts in transcripts and LLM context. When pronunciation dictionaries are configured via `pronunciation_dictionary_locators`, the service switches to ElevenLabs' normalized alignment to avoid duplicate words caused by dictionary substitutions. Text normalization (`apply_text_normalization`) does not affect which alignment field is used.
Expand Down
Loading