Class ImageData
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Represents the image data, which can be either base64 encoded or a Cloud Storage URI.
public class ImageData
- Inheritance
-
ImageData
- Inherited Members
- Extension Methods
Properties
BytesBase64Encoded
Gets or sets the base64 encoded image string.
[JsonPropertyName("bytesBase64Encoded")]
public string? BytesBase64Encoded { get; set; }
Property Value
GcsUri
Gets or sets the Cloud Storage URI of the image.
[JsonPropertyName("gcsUri")]
public string? GcsUri { get; set; }
Property Value
MimeType
Gets or sets the MIME type of the image.
[JsonPropertyName("mimeType")]
public string? MimeType { get; set; }