feat(tts): add new OpenAI gpt-4o-mini-tts voices
Add ballad, cedar, marin, and verse to OPENAI_TTS_VOICES. These voices were introduced with gpt-4o-mini-tts but were missing from the validation list, causing fallback to Edge TTS.
This commit is contained in:
parent
699784dbee
commit
83665748ba
@ -773,13 +773,17 @@ function isCustomOpenAIEndpoint(): boolean {
|
|||||||
export const OPENAI_TTS_VOICES = [
|
export const OPENAI_TTS_VOICES = [
|
||||||
"alloy",
|
"alloy",
|
||||||
"ash",
|
"ash",
|
||||||
|
"ballad",
|
||||||
|
"cedar",
|
||||||
"coral",
|
"coral",
|
||||||
"echo",
|
"echo",
|
||||||
"fable",
|
"fable",
|
||||||
"onyx",
|
"marin",
|
||||||
"nova",
|
"nova",
|
||||||
|
"onyx",
|
||||||
"sage",
|
"sage",
|
||||||
"shimmer",
|
"shimmer",
|
||||||
|
"verse",
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
type OpenAiTtsVoice = (typeof OPENAI_TTS_VOICES)[number];
|
type OpenAiTtsVoice = (typeof OPENAI_TTS_VOICES)[number];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user