@lobehub/tts
Version:
A high-quality & reliable TTS React Hooks library
22 lines (21 loc) • 344 B
JavaScript
//#region src/core/OpenAITTS/voiceList.ts
const voiceList = [
"alloy",
"ash",
"ballad",
"coral",
"echo",
"fable",
"onyx",
"nova",
"sage",
"shimmer"
];
const getOpenaiVoiceOptions = () => {
return voiceList.map((voice) => ({
label: voice,
value: voice
}));
};
//#endregion
export { voiceList as default, getOpenaiVoiceOptions };