GenerativeContentBlob interface

Interface for sending an image.

Signature:

export interface GenerativeContentBlob 

Properties

Property Type Description
data string Image as a base64 string.
mimeType string

GenerativeContentBlob.data

Image as a base64 string.

Signature:

data: string;

GenerativeContentBlob.mimeType

Signature:

mimeType: string;