Interface GenerativeContentBlob (0.4.0)

Raw media bytes sent directly in the request. Text should not be sent as raw bytes. {string} - mime_type. The MIME type of the source data. The only accepted values: "image/png" or "image/jpeg". {string} - data. data must be base64 string

Package

@google-cloud/vertexai

Properties

data

data: string;

mime_type

mime_type: string;