Skip to content

Latest commit

 

History

History
66 lines (40 loc) · 1.22 KB

File metadata and controls

66 lines (40 loc) · 1.22 KB

google.generativeai.protos.Blob

View source on GitHub

Raw media bytes.

Text should not be sent as raw bytes, use the 'text' field.

Attributes

mime_type

str

The IANA standard MIME type of the source data. Examples:

  • image/png
  • image/jpeg If an unsupported MIME type is provided, an error will be returned. For a complete list of supported types, see Supported file formats <https://ai.google.dev/gemini-api/docs/prompting_with_media#supported_file_formats>__.

data

bytes

Raw bytes for media formats.