From 1e76cc7bdcbfc477f80868aa7e13e0dd96536616 Mon Sep 17 00:00:00 2001 From: Angelo Giacco Date: Sat, 10 May 2025 16:09:20 +0100 Subject: [PATCH] fix: elevenlabs api key --- src/pipecat/services/elevenlabs/tts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipecat/services/elevenlabs/tts.py b/src/pipecat/services/elevenlabs/tts.py index 324e8099e..1b78db904 100644 --- a/src/pipecat/services/elevenlabs/tts.py +++ b/src/pipecat/services/elevenlabs/tts.py @@ -425,7 +425,7 @@ class ElevenLabsTTSService(AudioContextWordTTSService): if self._websocket: if not self._context_id: # First message for a new context - need a space to initialize - msg = {"text": " ", "context_id": str(uuid.uuid4()), "xi_api_key": self._api_key} + msg = {"text": " ", "context_id": str(uuid.uuid4()), "xi-api-key": self._api_key} # Add voice settings only in first message for a context if self._voice_settings: