Google Gemini · Schema

Blob

Raw media bytes with MIME type information.

Agentic AIArtificial IntelligenceCode GenerationEmbeddingsGenerative AIImage GenerationLLMMachine LearningMultimodal

Properties

Name Type Description
mimeType string The IANA standard MIME type of the source data. Examples: image/png, image/jpeg, audio/mp3, video/mp4.
data string Raw bytes for media formats encoded as base64.
View JSON Schema on GitHub

JSON Schema

google-gemini-blob-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Blob",
  "title": "Blob",
  "type": "object",
  "description": "Raw media bytes with MIME type information.",
  "properties": {
    "mimeType": {
      "type": "string",
      "description": "The IANA standard MIME type of the source data. Examples: image/png, image/jpeg, audio/mp3, video/mp4."
    },
    "data": {
      "type": "string",
      "format": "byte",
      "description": "Raw bytes for media formats encoded as base64."
    }
  }
}