Merge pull request #3682 from eoinoreilly30/patch-1

Add new voice options 'marin' and 'cedar'
This commit is contained in:
Mark Backman
2026-02-09 23:47:39 -05:00
committed by GitHub
2 changed files with 17 additions and 2 deletions

1
changelog/3682.added.md Normal file
View File

@@ -0,0 +1 @@
- Added new OpenAI TTS voice options `marin` and `cedar`.

View File

@@ -28,18 +28,32 @@ from pipecat.services.tts_service import TTSService
from pipecat.utils.tracing.service_decorators import traced_tts
ValidVoice = Literal[
"alloy", "ash", "ballad", "coral", "echo", "fable", "onyx", "nova", "sage", "shimmer", "verse"
"alloy",
"ash",
"ballad",
"cedar",
"coral",
"echo",
"fable",
"marin",
"nova",
"onyx",
"sage",
"shimmer",
"verse",
]
VALID_VOICES: Dict[str, ValidVoice] = {
"alloy": "alloy",
"ash": "ash",
"ballad": "ballad",
"cedar": "cedar",
"coral": "coral",
"echo": "echo",
"fable": "fable",
"onyx": "onyx",
"marin": "marin",
"nova": "nova",
"onyx": "onyx",
"sage": "sage",
"shimmer": "shimmer",
"verse": "verse",