ImageSize enum
The size of the generated images. Must be one of 1024x1024
, 1536x1024
(landscape), 1024x1536
(portrait), or auto
(default value) for gpt-image-1
, one of 256x256
, 512x512
, or 1024x1024
for dall-e-2
, and one of 1024x1024
, 1792x1024
, or 1024x1792
for dall-e-3
.
Values
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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