Commit f249b7cf by a37836323

添加DALL-E图像生成请求中的Background和Moderation字段

parent c2f3749c
...@@ -12,6 +12,8 @@ type ImageRequest struct { ...@@ -12,6 +12,8 @@ type ImageRequest struct {
Style string `json:"style,omitempty"` Style string `json:"style,omitempty"`
User string `json:"user,omitempty"` User string `json:"user,omitempty"`
ExtraFields json.RawMessage `json:"extra_fields,omitempty"` ExtraFields json.RawMessage `json:"extra_fields,omitempty"`
Background string `json:"background,omitempty"`
Moderation string `json:"moderation,omitempty"`
} }
type ImageResponse struct { type ImageResponse 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