音色配置修改
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 52s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 52s
				
			This commit is contained in:
		
							parent
							
								
									a9230fcf81
								
							
						
					
					
						commit
						602bb1fce2
					
				| @ -718,7 +718,7 @@ func (s *LLMService) DeleteConversation(conversationID, user string) (map[string | |||||||
| // SynthesizeSpeech converts text to speech | // SynthesizeSpeech converts text to speech | ||||||
| func (s *LLMService) SynthesizeSpeech(text string, audio string) (*SpeechResponse, error) { | func (s *LLMService) SynthesizeSpeech(text string, audio string) (*SpeechResponse, error) { | ||||||
| 	payload := SpeechRequest{ | 	payload := SpeechRequest{ | ||||||
| 		Model:         "speech-02-turbo", | 		Model:         "speech-02-hd", | ||||||
| 		Text:          text, | 		Text:          text, | ||||||
| 		Stream:        false, | 		Stream:        false, | ||||||
| 		LanguageBoost: "auto", | 		LanguageBoost: "auto", | ||||||
| @ -727,8 +727,8 @@ func (s *LLMService) SynthesizeSpeech(text string, audio string) (*SpeechRespons | |||||||
| 			VoiceID: audio, | 			VoiceID: audio, | ||||||
| 			Speed:   1, | 			Speed:   1, | ||||||
| 			Vol:     1, | 			Vol:     1, | ||||||
| 			Pitch:   0, | 			Pitch:   -1, | ||||||
| 			Emotion: "happy", | 			Emotion: "neutral", | ||||||
| 		}, | 		}, | ||||||
| 		AudioSetting: AudioSetting{ | 		AudioSetting: AudioSetting{ | ||||||
| 			SampleRate: 32000, | 			SampleRate: 32000, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Song367
						Song367