mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 08:36:22 +00: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"`
|
|
}
|