Go to file
guofei 983c203aa9 还远到正常版本 2024-12-03 19:13:51 +08:00
prisma 克隆完成版 2024-12-03 17:01:00 +08:00
src 还远到正常版本 2024-12-03 19:13:51 +08:00
test first commit 2024-09-22 20:50:28 +08:00
tmp 增加声音克隆oss批量 2024-12-02 20:12:22 +08:00
.eslintrc.js 1 2024-09-23 19:35:11 +08:00
.gitignore first commit 2024-09-22 20:50:28 +08:00
.prettierrc 1 2024-09-23 19:35:11 +08:00
README.md feat: 克隆音频完成能跑通 2024-12-03 14:58:40 +08:00
aa.conf 1 2024-09-23 19:35:11 +08:00
nest-cli.json first commit 2024-09-22 20:50:28 +08:00
package.json 增加声音克隆oss批量 2024-12-02 20:12:22 +08:00
pnpm-lock.yaml 增加声音克隆oss批量 2024-12-02 20:12:22 +08:00
tsconfig.build.json first commit 2024-09-22 20:50:28 +08:00
tsconfig.json first commit 2024-09-22 20:50:28 +08:00

README.md

pm2 start --name admin-banban-new-nest npm -- run start:prod

// { // roleId: '6704bd0ef48326fe51ddb751', // roleName: '甘宁', // url: 'https://banban-systemcharter-speak.oss-cn-beijing.aliyuncs.com/test/%E4%BB%A3%E5%8F%B7%E9%B8%A2%E5%AF%86%E6%8E%A2%E7%94%98%E5%AE%81.mp3', // taskId: '674d85d7467ce26d974f97e9' // } // 开始处理任务 [第1次尝试]: 甘宁 // { // SpeakerID: 'SFC60x0Gb1', // InstanceNO: 'Model_storage_BpVrslAkhpaKVod', // IsActivatable: false, // State: 'Unknown', // DemoAudio: null, // Version: null, // CreateTime: 0, // ExpireTime: 1764691199000, // Alias: '', // AvailableTrainingTimes: 10 // } // S_FC60x0Gb1

开始克隆声音,参数: { speaker_id: 'S_FC60x0Gb1', appid: '8167092294', audio_format: 'wav' }

const result = [ { roleId: '6704bd0ef48326fe51ddb751', roleName: '甘宁', url: 'https://banban-systemcharter-speak.oss-cn-beijing.aliyuncs.com/test/WeChat_20241119150807_1.mp3', }, ];