18 lines
399 B
TypeScript
18 lines
399 B
TypeScript
export enum Text2SpeechVoiceEnum {
|
|
alloy = 'alloy',
|
|
echo = 'echo',
|
|
fable = 'fable',
|
|
onyx = 'onyx',
|
|
nova = 'nova',
|
|
shimmer = 'shimmer'
|
|
}
|
|
export const openaiTTSList = [
|
|
Text2SpeechVoiceEnum.alloy,
|
|
Text2SpeechVoiceEnum.echo,
|
|
Text2SpeechVoiceEnum.fable,
|
|
Text2SpeechVoiceEnum.onyx,
|
|
Text2SpeechVoiceEnum.nova,
|
|
Text2SpeechVoiceEnum.shimmer
|
|
];
|
|
export const openaiTTSModel = 'tts-1';
|