mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-18 00:16:37 +08:00
14 lines
369 B
Go
14 lines
369 B
Go
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"`
|
|
}
|