feat: 初步重构完成

This commit is contained in:
1808837298@qq.com committed 2024-02-29 16:21:25 +08:00
1 parent 1735981217
commit 436afe925e
30 files changed
+240 -195

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
package dto
type TextToSpeechRequest struct {
Model string `json:"model" binding:"required"`
Input string `json:"input" binding:"required"`
Voice string `json:"voice" binding:"required"`
Speed float64 `json:"speed"`
ResponseFormat string `json:"response_format"`
}
type AudioResponse struct {
Text string `json:"text"`
}