还远到正常版本

main
guofei 2024-12-03 19:13:51 +08:00
parent e4dc47a83f
commit 983c203aa9
2 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export class RedisTaskProcessor {
console.log(`开始处理任务 [第${job.attemptsMade + 1}次尝试]: ${job.data.roleName}`);
const volcenAudioSpeakService = new VolcenAudioSpeakService();
// voiceId = await volcenAudioSpeakService.getVoiceId();
voiceId = await volcenAudioSpeakService.getVoiceId();
// voiceId = 'S_VK2Yw0Gb1';
// 请求ossurl获取base64
const base64 = await volcenAudioSpeakService.getAudioBase64(ossUrl);

View File

@ -102,6 +102,7 @@ export class VolcenAudioSpeakService {
bits: 16,
},
],
// model_type:1,
source: 2,
};