feat: 长文本语音合成
This commit is contained in:
@@ -127,8 +127,9 @@ func (s *ProgramService) GenerateTTS(programId string) error {
|
||||
|
||||
// 2. 调用TTS提交任务 (异步,后台处理)
|
||||
ttsReq := TTSTextToSpeechRequest{
|
||||
Text: program.Content,
|
||||
VoiceType: 101021, // 亲和女声
|
||||
Text: program.Content,
|
||||
//VoiceType: 101001, // 智瑜 情感女声
|
||||
VoiceType: 101013, // 智辉 新闻男声
|
||||
Speed: 0, // 正常语速
|
||||
Volume: 0, // 正常音量
|
||||
ProgramId: programId,
|
||||
|
||||
Reference in New Issue
Block a user