fix: elevenlabs api key

This commit is contained in:
Angelo Giacco
2025-05-10 16:09:20 +01:00
parent 18c0374126
commit 1e76cc7bdc

View File

@@ -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: