feat(volcano-tts): add support for v3 model parameter

1. 新增BYTEDANCE_TTS_MODEL环境变量支持,为火山TTS v3 API配置子模型版本
2. 为复刻音色添加默认兜底模型,修复55000000报错问题
3. 更新文档说明v3 API调用规则与环境变量配置
4. 修正语速转换的范围限制,匹配官方文档规范
This commit is contained in:
sun
2026-06-27 14:09:46 +08:00
parent bcbd796fa5
commit 15b0470cc8
5 changed files with 55 additions and 7 deletions
+1
View File
@@ -30,6 +30,7 @@ type ByteDanceTTSConfig struct {
ApiKey string
ResourceId string
Speaker string
Model string // v3 声音复刻/语音大模型 子模型版本,复刻音色必填
URL string
Timeout time.Duration
}