@@ -71,19 +71,22 @@ const (
7171
7272// ImageRequest represents the request structure for the image API.
7373type ImageRequest struct {
74- Prompt string `json:"prompt,omitempty"`
75- Model string `json:"model,omitempty"`
76- N int `json:"n,omitempty"`
77- Quality string `json:"quality,omitempty"`
78- Size string `json:"size,omitempty"`
79- Style string `json:"style,omitempty"`
80- ResponseFormat string `json:"response_format,omitempty"`
81- User string `json:"user,omitempty"`
82- Background string `json:"background,omitempty"`
83- Moderation string `json:"moderation,omitempty"`
84- OutputCompression int `json:"output_compression,omitempty"`
85- OutputFormat string `json:"output_format,omitempty"`
86- Watermark * bool `json:"watermark,omitempty"`
74+ Prompt string `json:"prompt,omitempty"`
75+ Model string `json:"model,omitempty"`
76+ N int `json:"n,omitempty"`
77+ Quality string `json:"quality,omitempty"`
78+ Size string `json:"size,omitempty"`
79+ Style string `json:"style,omitempty"`
80+ ResponseFormat string `json:"response_format,omitempty"`
81+ User string `json:"user,omitempty"`
82+ Background string `json:"background,omitempty"`
83+ Moderation string `json:"moderation,omitempty"`
84+ OutputCompression int `json:"output_compression,omitempty"`
85+ OutputFormat string `json:"output_format,omitempty"`
86+ Watermark * bool `json:"watermark,omitempty"`
87+ Image string `json:"image,omitempty"`
88+ Seed * int `json:"seed,omitempty"`
89+ GuidanceScale * float32 `json:"guidance_scale,omitempty"`
8790}
8891
8992// ImageResponse represents a response structure for image API.
0 commit comments