Merge pull request #3682 from eoinoreilly30/patch-1
Add new voice options 'marin' and 'cedar'
This commit is contained in:
1
changelog/3682.added.md
Normal file
1
changelog/3682.added.md
Normal file
@@ -0,0 +1 @@
|
||||
- Added new OpenAI TTS voice options `marin` and `cedar`.
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user