VisionGenerativeModelResult

Fields
images[] object (Image)

List of images bytes or gcs uris of the generated images.

JSON representation
{
  "images": [
    {
      object (Image)
    }
  ]
}

Image

Fields
mimeType string

The MIME type of the content of the image. Only the images in below listed MIME types are supported. - image/jpeg - image/gif - image/png - image/webp - image/bmp - image/tiff - image/vnd.microsoft.icon

prompt string

The rewritten prompt used for the image generation.

data Union type
The image bytes or Cloud Storage URI to make the prediction on. data can be only one of the following:
bytesBase64Encoded string

Base64 encoded bytes string representing the image.

gcsUri string
raiFilteredReason string

The reason generated images get filtered.

contentType string

Input object content type

semanticFilterResponse object (SemanticFilterResponse)

Semantic filter results. This will report to users when semantic filter is turned on in editConfig and used for image inpainting.

safetyAttributes object (SafetyAttributes)

Safety attributes scores of the content.

JSON representation
{
  "mimeType": string,
  "prompt": string,

  // data
  "bytesBase64Encoded": string,
  "gcsUri": string,
  "raiFilteredReason": string,
  "contentType": string
  // Union type
  "semanticFilterResponse": {
    object (SemanticFilterResponse)
  },
  "safetyAttributes": {
    object (SafetyAttributes)
  }
}