package org.ruoyi.common.chat.entity.Tts; import lombok.AllArgsConstructor; import lombok.Getter; /** * 生成不同声音的音频 *
具体语音效果参考:https://platform.openai.com/docs/guides/text-to-speech
*/ @Getter @AllArgsConstructor public enum TtsVoice { ALLOY("alloy"), ECHO("echo"), FABLE("fable"), ONYX("onyx"), NOVA("nova"), SHIMMER("shimmer"), ; private final String name; }