React Native Firebase
    Preparing search index...

    Interface ImagenGenerationResponse<T>Beta

    The response from a request to generate images with Imagen.

    interface ImagenGenerationResponse<T extends ImagenInlineImage | ImagenGCSImage> {
        filteredReason?: string;
        images: T[];
    }

    Type Parameters

    Index

    Properties

    filteredReason?: string

    The reason that images were filtered out. This property will only be defined if one or more images were filtered.

    Images may be filtered out due to the ImagenSafetyFilterLevel, ImagenPersonFilterLevel, 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: T[]

    The images generated by Imagen.

    The number of images generated may be fewer than the number requested if one or more were filtered out; see filteredReason.