diff --git a/apps/web/src/api/tts/types.ts b/apps/web/src/api/tts/types.ts index c3e686017..ab4dda8b8 100644 --- a/apps/web/src/api/tts/types.ts +++ b/apps/web/src/api/tts/types.ts @@ -16,6 +16,7 @@ export interface TTSSynthesizeRequest { voice_id?: string output_name?: string language?: string + emotion?: string speed?: number voice_model?: string voice_clone_profile_id?: string @@ -103,6 +104,7 @@ export interface TTSPreviewRequest { voice_id: string speed?: number pitch?: number + language?: string emotion?: string // 情绪参数:natural/excited/calm/friendly }