适配dall-e-3
This commit is contained in:
1 parent
2a1d994a2d
commit
8c5fd7b7ee
5 files changed
+224
-179
No files matched your search
+5
-3
@@ -85,9 +85,11 @@ type TextRequest struct {
|
||||
}
|
||||
|
||||
type ImageRequest struct {
|
||||
Prompt string `json:"prompt"`
|
||||
N int `json:"n"`
|
||||
Size string `json:"size"`
|
||||
Model string `json:"model"`
|
||||
Quality string `json:"quality"`
|
||||
Prompt string `json:"prompt"`
|
||||
N int `json:"n"`
|
||||
Size string `json:"size"`
|
||||
}
|
||||
|
||||
type AudioResponse struct {
|
||||
|
||||
Reference in new issue
Block a user