No examples found
No examples found
{
"event_id": "<string>",
"type": "<string>",
"response_id": "<string>",
"item_id": "<string>",
"output_index": 123,
"content_index": 123,
"delta": "<string>"
}
{
"event_id": "<string>",
"type": "<string>",
"response_id": "<string>",
"item_id": "<string>",
"output_index": 123,
"content_index": 123,
"delta": "<string>"
}
No examples found
{
"event_id": "<string>",
"type": "<string>",
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>"
}
}
{
"type": "<string>"
}
{}
{}
{}
{}
{}
GLM-Realtime API 提供实时音视频通话和多模态交互能力,支持实时语音对话、视频理解、函数调用等功能。由于浏览器的 WebSocket 实现出于安全考虑禁止添加用于鉴权的自定义 HTTP 请求头,因此在当前 Playground 页面的无法直接体验该模型,请参考指南使用其他方式进行调用。
No examples found
No examples found
{
"event_id": "<string>",
"type": "<string>",
"response_id": "<string>",
"item_id": "<string>",
"output_index": 123,
"content_index": 123,
"delta": "<string>"
}
{
"event_id": "<string>",
"type": "<string>",
"response_id": "<string>",
"item_id": "<string>",
"output_index": 123,
"content_index": 123,
"delta": "<string>"
}
No examples found
{
"event_id": "<string>",
"type": "<string>",
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>"
}
}
{
"type": "<string>"
}
{}
{}
{}
{}
{}
鉴权信息,支持JWT(客户端)或Bearer API Key(服务端)。格式:'Bearer YOUR_API_KEY'
服务器确认会话更新
服务器确认响应创建
服务器发送音频数据流
服务器发送文本数据流
服务器发送响应完成
服务器发送错误信息
服务器发送心跳
客户端发送会话配置更新
客户端发送音频数据
客户端提交音频缓冲区
客户端请求创建响应
客户端取消响应
Was this page helpful?