Commit 4454af5f by CaIon

完善dall-e-3请求参数

parent 8f514ada
...@@ -91,11 +91,13 @@ type TextRequest struct { ...@@ -91,11 +91,13 @@ type TextRequest struct {
} }
type ImageRequest struct { type ImageRequest struct {
Model string `json:"model"` Model string `json:"model"`
Quality string `json:"quality"` Prompt string `json:"prompt"`
Prompt string `json:"prompt"` N int `json:"n"`
N int `json:"n"` Size string `json:"size"`
Size string `json:"size"` Quality string `json:"quality,omitempty"`
ResponseFormat string `json:"response_format,omitempty"`
Style string `json:"style,omitempty"`
} }
type AudioResponse struct { type AudioResponse struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment