fix: 更新字节语音合成默认模型为音色复刻路由适配版本

更新了默认模型值从seed-tts-2.0-standard为seed-icl-2.0,同步修改了配置检查逻辑、文档说明,修正了复刻音色的使用指引,解决默认模型与复刻资源不匹配导致的55000000错误问题。
This commit is contained in:
sun
2026-07-01 15:02:43 +08:00
parent 7e2d050d51
commit 638dcc7721
3 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ func Synthesis(config *dto.ByteDanceTTSConfig, httpClient *HTTPClient, text stri
model := config.Model
if model == "" {
model = "seed-tts-2.0-standard" // 文档默认值,复刻音色可设为 seed-tts-2.0-expressive
model = "seed-icl-2.0" // 默认走音色复刻路由,匹配 X-Api-Resource-Id=seed-icl-2.0
}
// 决定实际输出格式:优先用请求中指定的格式,否则用配置中的格式,最后默认 mp3