Class ImageConfig
java.lang.Object
com.google.genai.gaos.models.interactions.ImageConfig
Deprecated.
class: This will be removed in a future release, please migrate away from it as soon as possible.
ImageConfig
The configuration for image interaction.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ImageConfig(ImageConfigAspectRatio aspectRatio, ImageConfigImageSize imageSize) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The aspect ratio of the image to generate.static ImageConfig.Builderbuilder()Deprecated.booleanDeprecated.inthashCode()Deprecated.Deprecated.Specifies the size of generated images.toString()Deprecated.withAspectRatio(ImageConfigAspectRatio aspectRatio) Deprecated.The aspect ratio of the image to generate.withImageSize(ImageConfigImageSize imageSize) Deprecated.Specifies the size of generated images.
-
Constructor Details
-
ImageConfig
public ImageConfig(@Nullable ImageConfigAspectRatio aspectRatio, @Nullable ImageConfigImageSize imageSize) Deprecated. -
ImageConfig
public ImageConfig()Deprecated.
-
-
Method Details
-
aspectRatio
Deprecated.The aspect ratio of the image to generate. Supported aspect ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9.If not specified, the model will choose a default aspect ratio based on any reference images provided.
-
imageSize
Deprecated.Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. -
builder
Deprecated. -
withAspectRatio
Deprecated.The aspect ratio of the image to generate. Supported aspect ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9.If not specified, the model will choose a default aspect ratio based on any reference images provided.
-
withImageSize
Deprecated.Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-