feat: 弃用腾讯tts,该用火山引擎tts

This commit is contained in:
Blizzard
2026-03-20 17:06:19 +08:00
parent e4b7ee04cc
commit f4bfe2d609
13 changed files with 294 additions and 173 deletions
+4 -3
View File
@@ -1,7 +1,8 @@
package config
// TTS 统一TTS配置 (目前对接火山引擎长文本异步合成)
type TTS struct {
AppId string `mapstructure:"app-id" json:"app-id" yaml:"app-id"`
SecretId string `mapstructure:"secret-id" json:"secret-id" yaml:"secret-id"`
SecretKey string `mapstructure:"secret-key" json:"secret-key" yaml:"secret-key"`
AppId string `mapstructure:"app-id" json:"app-id" yaml:"app-id"` // 火山 AppID
ResourceId string `mapstructure:"resource-id" json:"resource-id" yaml:"resource-id"` // 火山 Cluster/资源ID
AccessKey string `mapstructure:"access-key" json:"access-key" yaml:"access-key"` // 火山 Token/SecretId
}