ImagenGenerationResponse

@PublicPreviewAPI
class ImagenGenerationResponse<T : Any?>


Represents a response from a call to ImagenModel.generateImages

Summary

Public properties

String?

if fewer images were generated than were requested, this field will contain the reason they were filtered out.

List<T>

contains the generated images

Public properties

filteredReason

val filteredReason: String?

if fewer images were generated than were requested, this field will contain the reason they were filtered out.

images

val images: List<T>

contains the generated images