ImageGenerationOptions class
Options for image generation requests.
This is an experimental feature.
Constructors
- ImageGenerationOptions({int? count, int? imageWidth, int? imageHeight, String? mediaType, String? modelId, AdditionalPropertiesDictionary? additionalProperties})
- Creates a new ImageGenerationOptions.
Properties
- additionalProperties ↔ AdditionalPropertiesDictionary?
-
Additional properties.
getter/setter pair
- count ↔ int?
-
The number of images to generate.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageHeight ↔ int?
-
The height of the generated image.
getter/setter pair
- imageWidth ↔ int?
-
The width of the generated image.
getter/setter pair
- mediaType ↔ String?
-
The MIME type of the generated image.
getter/setter pair
- modelId ↔ String?
-
The model to use for generation.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clone(
) → ImageGenerationOptions - Creates a deep copy of this ImageGenerationOptions.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited