mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-23 10:26:38 +08:00
完善dall-e-3请求参数
This commit is contained in:
parent
773e48ed6f
commit
9027ccf615
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user