feat: 弃用腾讯tts,该用火山引擎tts
This commit is contained in:
@@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user