From eaad3c5d55cb1d2a3fffa0172c4b10f0126f1378 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Thu, 31 Jul 2025 10:24:54 -0400 Subject: [PATCH] NeuphonicTTSService: change the default url value to the global endpoint --- CHANGELOG.md | 5 +++++ src/pipecat/services/neuphonic/tts.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3a3a8a62..60858059c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,6 +56,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Changed the default `url` for `NeuphonicTTSService` to + `wss://api.neuphonic.com` as it provides better global performance. You can + set the URL to other URLs, such as the previous default: + `wss://eu-west-1.api.neuphonic.com`. + - Update `daily-python` to 0.19.5. - `STTMuteFilter` now pushes the `STTMuteFrame` upstream and downstream, to diff --git a/src/pipecat/services/neuphonic/tts.py b/src/pipecat/services/neuphonic/tts.py index 7cf186571..fc0117712 100644 --- a/src/pipecat/services/neuphonic/tts.py +++ b/src/pipecat/services/neuphonic/tts.py @@ -107,7 +107,7 @@ class NeuphonicTTSService(InterruptibleTTSService): *, api_key: str, voice_id: Optional[str] = None, - url: str = "wss://eu-west-1.api.neuphonic.com", + url: str = "wss://api.neuphonic.com", sample_rate: Optional[int] = 22050, encoding: str = "pcm_linear", params: Optional[InputParams] = None,