适配dall-e-3

This commit is contained in:
CaIon committed 2023-11-09 17:08:32 +08:00
1 parent 2a1d994a2d
commit 8c5fd7b7ee
5 files changed
+224 -179

No files matched your search

+5 -3
View File
@@ -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 {