diff --git a/CHANGELOG.md b/CHANGELOG.md index 5396a1eb7..d8d80693e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Added +- Added `voice_cloning_key` to `GoogleTTSService` to support custom cloned voices. +- Added `speaking_rate` to `GoogleTTSService.InputParams` to control the speaking rate. - `BaseOutputTransport` now implements `write_dtmf()` by loading DTMF audio and sending it through the transport. This makes sending DTMF generic across all output transports. diff --git a/src/pipecat/services/google/tts.py b/src/pipecat/services/google/tts.py index 676896cc7..bfda3292a 100644 --- a/src/pipecat/services/google/tts.py +++ b/src/pipecat/services/google/tts.py @@ -523,6 +523,7 @@ class GoogleTTSService(TTSService): credentials: JSON string containing Google Cloud service account credentials. credentials_path: Path to Google Cloud service account JSON file. voice_id: Google TTS voice identifier (e.g., "en-US-Chirp3-HD-Charon"). + voice_cloning_key: The voice cloning key for Chirp 3 custom voices. sample_rate: Audio sample rate in Hz. If None, uses default. params: Language configuration parameters. **kwargs: Additional arguments passed to parent TTSService.