Firebase. AI. ImagenGenerationResponse< T >
A response from a request to generate images with Imagen.
Summary
This type is returned from:
ImagenModel.GenerateImagesAsync(prompt)whereTisImagenInlineImage
Properties |
|
|---|---|
FilteredReason
|
string
The reason, if any, that generated images were filtered out.
|
Images
|
IReadOnlyList< T >
The images generated by Imagen; see
ImagenInlineImage. |
Properties
FilteredReason
string Firebase::AI::ImagenGenerationResponse< T >::FilteredReason
The reason, if any, that generated images were filtered out.
This property will only be populated if fewer images were generated than were requested, otherwise it will be null. Images may be filtered out due to the SafetyFilterLevel, the PersonFilterLevel, or filtering included in the model. The filter levels may be adjusted in your ImagenSafetySettings. See the Responsible AI and usage guidelines for Imagen for more details.
Images
IReadOnlyList< T > Firebase::AI::ImagenGenerationResponse< T >::Images
The images generated by Imagen; see ImagenInlineImage.
Important: The number of images generated may be fewer than the number requested if one or more were filtered out; see FilteredReason.