GeneratedImage

Represents a generated image object.

JSON representation
{
  "name": string,
  "generationTime": string,

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "uri": string,
  "imageBytes": string
  // End of mutually exclusive fields.
}
Fields
name

string

Identifier. The unique key for the image.

generationTime

string (Timestamp format)

The timestamp when the image was generated.

The generated image. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
uri

string

Generally web-requestable URI of the generated image. This is a temporary URI and will expire after 29 days. A URI may not be populated immediately after generation. Use get or list api using image_id to get the URI.

imageBytes

string (bytes format)

Raw bytes for the image.

A base64-encoded string.

End of mutually exclusive fields.