mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-12 04:03:42 +08:00
feat: 添加 TTS 引擎配置,更新阿里巴巴语音接口,支持实时语音合成
This commit is contained in:
@@ -5,13 +5,13 @@ import { ListItem, Select, PasswordInput } from "@/app/components/ui-lib";
|
||||
|
||||
import { InputRange } from "@/app/components/input-range";
|
||||
import { Voice } from "rt-client";
|
||||
import { ServiceProvider } from "@/app/constant";
|
||||
import { REALTIME_TTS_MODELS, ServiceProvider } from "@/app/constant";
|
||||
|
||||
const providers = [ServiceProvider.OpenAI, ServiceProvider.Azure];
|
||||
const providers = Object.keys(REALTIME_TTS_MODELS) as ServiceProvider[];
|
||||
|
||||
const models = ["gpt-4o-realtime-preview-2024-10-01"];
|
||||
const models = ["gpt-4o-realtime-preview-2024-10-01", "qwen-tts-realtime"];
|
||||
|
||||
const voice = ["alloy", "shimmer", "echo"];
|
||||
const voice = ["alloy", "shimmer", "echo","Chelsie"];
|
||||
|
||||
export function RealtimeConfigList(props: {
|
||||
realtimeConfig: RealtimeConfig;
|
||||
|
||||
Reference in New Issue
Block a user