Firebase. AI. ImageConfig
Configuration options for generating images with Gemini models.
Summary
Constructors and Destructors |
|
|---|---|
ImageConfig(AspectRatio? aspectRatio, ImageSize? imageSize)
Creates a new
ImageConfig with the given settings. |
Properties |
|
|---|---|
Ratio
|
|
Size
|
|
Structs |
|
|---|---|
|
Firebase. |
The aspect ratio of generated images. |
|
Firebase. |
The size of images to generate. |
Properties
Ratio
AspectRatio Firebase::AI::ImageConfig::Ratio
Size
ImageSize Firebase::AI::ImageConfig::Size
Public functions
ImageConfig
Firebase::AI::ImageConfig::ImageConfig( AspectRatio? aspectRatio, ImageSize? imageSize )
Creates a new ImageConfig with the given settings.