From 294fbac913639f3948b468dbc3928571b23a2595 Mon Sep 17 00:00:00 2001 From: Christian Gick Date: Mon, 23 Feb 2026 10:33:27 +0200 Subject: [PATCH] feat(tts): switch to flash model + speed 1.15x for snappier voice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Model: eleven_multilingual_v2 → eleven_flash_v2_5 (lower latency) - Speed: 1.15x via VoiceSettings - Stability/similarity tuned for natural German speech Co-Authored-By: Claude Opus 4.6 --- voice.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/voice.py b/voice.py index ee24095..67f8cb7 100644 --- a/voice.py +++ b/voice.py @@ -588,9 +588,12 @@ class VoiceSession: llm=lk_openai.LLM(base_url=LITELLM_URL, api_key=LITELLM_KEY, model=self.model), tts=elevenlabs.TTS( voice_id=voice_id, - model="eleven_multilingual_v2", + model="eleven_flash_v2_5", language="de", api_key=ELEVENLABS_KEY, + voice_settings=elevenlabs.VoiceSettings( + stability=0.5, similarity_boost=0.75, speed=1.15, + ), http_session=self._http_session, ), vad=_get_vad(),