From 602bb1fce2d388dbeab94e60a6de9f7cc258a43e Mon Sep 17 00:00:00 2001 From: Song367 <601337784@qq.com> Date: Thu, 19 Jun 2025 16:50:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9F=B3=E8=89=B2=E9=85=8D=E7=BD=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/llm_service.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service/llm_service.go b/service/llm_service.go index 91c4ee3..e980d4c 100644 --- a/service/llm_service.go +++ b/service/llm_service.go @@ -718,7 +718,7 @@ func (s *LLMService) DeleteConversation(conversationID, user string) (map[string // SynthesizeSpeech converts text to speech func (s *LLMService) SynthesizeSpeech(text string, audio string) (*SpeechResponse, error) { payload := SpeechRequest{ - Model: "speech-02-turbo", + Model: "speech-02-hd", Text: text, Stream: false, LanguageBoost: "auto", @@ -727,8 +727,8 @@ func (s *LLMService) SynthesizeSpeech(text string, audio string) (*SpeechRespons VoiceID: audio, Speed: 1, Vol: 1, - Pitch: 0, - Emotion: "happy", + Pitch: -1, + Emotion: "neutral", }, AudioSetting: AudioSetting{ SampleRate: 32000,