feat(viral_video): voice_source=my_voice/clone 克隆音色TTS支持 (#2188) #2191
Reference in New Issue
Block a user
Delete Branch "feature/voice-source-clone-support"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
前端 #2189 Step5 音色选择默认改为"我的音色"tab,用户选克隆音色后传 voice_source=my_voice + voice_id=<VoiceCloneProfile.id>。
后端 _step_tts 之前直接把 voice_id 当 CosyVoice preset 名传 DashScope,克隆场景会找不到音色合成失败。
改动
新增
_resolve_tts_voice_id(job)辅助函数:_step_tts改用 _resolve_tts_voice_id() 解析后再调 synthesize,其他链路(TTS→OSS上传→Seedance reference_audios)无需改动。不改
🚀 预览环境已部署
🗑️ 预览环境已清理
PR #2191 已关闭或合并,对应的预览环境已被清理。