{
  "asyncapi": "3.0.0",
  "info": {
    "title": "GLM-Realtime API",
    "description": "GLM-Realtime API 能够提供实时的视频通话功能，具有跨文本、音频和视频进行实时推理的能力，AI可以进行流畅的通话，人可以实时打断AI。除了实时音频交互外，Realtime还可通过手机或AIPC的摄像头与人互动，通过共享电脑屏幕阅读页面信息，通过视频流理解对话当前的环境。模型编码：glm-realtime-air、glm-realtime-flash；产品价格：限时免费。",
    "license": {
      "name": "ZHIPU AI 开发者协议和政策",
      "url": "https://chat.z.ai/legal-agreement/terms-of-service"
    },
    "version": "1.0.0",
    "contact": {
      "name": "ZHIPU AI 开发者",
      "url": "https://chat.z.ai/legal-agreement/privacy-policy",
      "email": "user_feedback@z.ai"
    }
  },
  "servers": {
    "production": {
      "host": "open.bigmodel.cn",
      "protocol": "wss"
    }
  },
  "channels": {
    "realtime": {
      "tags": [{ "name": "Realtime API" }],
      "title": "Audio and Video Calls with Multimodal Interaction",
      "description": "GLM-Realtime API provides real-time audio/video calls and multimodal interaction capabilities, supporting real-time voice conversations, video understanding, function calling, and more features. <b>Due to browser WebSocket implementations restricting custom HTTP request headers for security reasons, you cannot directly experience this model in the current Playground page</b>. Please refer to the guidelines to use other methods for making API calls.",
      "address": "/api/paas/v4/realtime",
      "bindings": {
        "ws": {
          "bindingVersion": "0.1.0",
          "headers": {
            "type": "object",
            "properties": {
              "Authorization": {
                "type": "string",
                "description": "鉴权信息，支持JWT（客户端）或Bearer API Key（服务端）。格式：'Bearer YOUR_API_KEY'",
                "pattern": "^Bearer .+$"
              }
            },
            "required": ["Authorization"]
          }
        }
      }
    }
  }
}
