Content blob.

interface Blob {
    data?: string;
    displayName?: string;
    mimeType?: string;
}

Properties

data?: string

Required. Raw bytes.

Encoded as base64 string.

displayName?: string

Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is not currently used in the Gemini GenerateContent calls.

mimeType?: string

Required. The IANA standard MIME type of the source data.