Represents the output of a Virtual Try-On prediction.
A list of generated images. The number of images returned is equal to the sampleCount parameter provided in the request.
| JSON representation |
|---|
{
"images": [
{
object ( |
Image
Contains a generated image or information about why the image was filtered out.
mimeTypestring
The MIME type of the generated image.
Supported values are: * image/png * image/jpeg
dataUnion type
The generated image data or filtering reason. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
bytesBase64Encodedstring
The generated image encoded as a base64 encoded bytes string.
gcsUristring
The Google Cloud Storage URI where the generated image is stored.
raiFilteredReasonstring
The reason why the generated image was filtered out by Responsible AI checks. If this field is present, no image is returned.
End of mutually exclusive fields.
| JSON representation |
|---|
{ "mimeType": string, // data "bytesBase64Encoded": string, "gcsUri": string, "raiFilteredReason": string // Union type } |