mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-12-27 10:15:58 +08:00
♻️ refactor: split relay
This commit is contained in:
9
types/audio.go
Normal file
9
types/audio.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package types
|
||||
|
||||
type SpeechAudioRequest struct {
|
||||
Model string `json:"model"`
|
||||
Input string `json:"input"`
|
||||
Voice string `json:"voice"`
|
||||
ResponseFormat string `json:"response_format,omitempty"`
|
||||
Speed float64 `json:"speed,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user