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
+13
View File
@@ -36,3 +36,16 @@ type UpdateProgram struct {
Tags string `json:"tags"` // 标签
Status int `json:"status"` // 状态
}
// VolcengineTTSRequest 火山引擎语音合成请求
type VolcengineTTSRequest struct {
ProgramId string `json:"programId" binding:"required"` // 节目ID
Text string `json:"text" binding:"required"` // 要合成的文本
VoiceType string `json:"voiceType"` // 声音类型
Speed int `json:"speed"` // 语速 -6到6
Pitch int `json:"pitch"` // 音调 -8到8
Volume int `json:"volume"` // 音量 0到10
}
// GetVoiceTypeListRequest 获取声音类型列表请求
type GetVoiceTypeListRequest struct{}