ImagenGenerationResponse

@PublicPreviewAPI
public final class ImagenGenerationResponse<T extends Object>


Represents a response from a call to ImagenModel.generateImages

Summary

Public fields

final String

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

final @NonNull List<@NonNull T>

contains the generated images

Public fields

filteredReason

public final String filteredReason

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

images

public final @NonNull List<@NonNull T> images

contains the generated images