ImageVariationRequest class
- Annotations
-
- @JsonSerializable(includeIfNull: false, createToJson: true, createFactory: false)
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
imageBytes
↔ Uint8List
-
The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square.
getter/setter pair
-
model
↔ String
-
The model to use for image generation.
getter/setter pair
-
n
↔ int?
-
The number of images to generate. Must be between 1 and 10.
getter/setter pair
-
responseFormat
↔ ResponseFormat
-
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
size
↔ ImageSize
-
getter/setter pair
-
user
↔ String?
-
A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. Learn more.
getter/setter pair