mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
为服务端添加视觉识别的能力
客户端只需要发送的消息类型:
vl_message = {
"type": "VL",
"msg": base64(你的图片)
"version": 1,
"transport": "websocket",
"audio_params": {
"format": "opus",
"sample_rate": 16000,
"channels": 1,
"frame_duration": 60
}
|
||
|---|---|---|
| .. | ||
| coze | ||
| dify | ||
| gemini | ||
| homeassistant | ||
| ollama | ||
| openai | ||
| base.py | ||