Letta · Schema

Base64Image

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
type string The source type for the image.
media_type string The media type for the image.
data string The base64 encoded image data.
detail object What level of detail to use when processing and understanding the image (low, high, or auto to let the model decide)
View JSON Schema on GitHub

JSON Schema

letta-base64image-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Base64Image",
  "title": "Base64Image",
  "properties": {
    "type": {
      "type": "string",
      "const": "base64",
      "title": "Type",
      "description": "The source type for the image.",
      "default": "base64"
    },
    "media_type": {
      "type": "string",
      "title": "Media Type",
      "description": "The media type for the image."
    },
    "data": {
      "type": "string",
      "title": "Data",
      "description": "The base64 encoded image data."
    },
    "detail": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Detail",
      "description": "What level of detail to use when processing and understanding the image (low, high, or auto to let the model decide)"
    }
  },
  "type": "object",
  "required": [
    "media_type",
    "data"
  ]
}