mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-23 02:26:36 +08:00
完善dall-e-3请求参数
This commit is contained in:
parent
773e48ed6f
commit
9027ccf615
@ -91,11 +91,13 @@ type TextRequest struct {
|
||||
}
|
||||
|
||||
type ImageRequest struct {
|
||||
Model string `json:"model"`
|
||||
Quality string `json:"quality"`
|
||||
Prompt string `json:"prompt"`
|
||||
N int `json:"n"`
|
||||
Size string `json:"size"`
|
||||
Model string `json:"model"`
|
||||
Prompt string `json:"prompt"`
|
||||
N int `json:"n"`
|
||||
Size string `json:"size"`
|
||||
Quality string `json:"quality,omitempty"`
|
||||
ResponseFormat string `json:"response_format,omitempty"`
|
||||
Style string `json:"style,omitempty"`
|
||||
}
|
||||
|
||||
type AudioResponse struct {
|
||||
|
Loading…
Reference in New Issue
Block a user