google.generativeai.protos.Blob
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.
|