update readme

This commit is contained in:
jhqxxx
2025-10-27 13:13:47 +08:00
parent 1dcccf5aeb
commit 86103fde73
2 changed files with 11 additions and 9 deletions
+9
View File
@@ -20,6 +20,15 @@
## 计划支持 ## 计划支持
我们持续扩展支持的模型列表,欢迎贡献! 我们持续扩展支持的模型列表,欢迎贡献!
## 环境依赖
1. ffmpeg:
* ubuntu/WSL
```bash
sudo apt-get update
sudo apt-get install -y pkg-config ffmpeg libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libavdevice-dev libswresample-dev libswscale-dev
```
* windows参考: https://github.com/zmwangx/rust-ffmpeg/wiki/Notes-on-building
## 安装 ## 安装
### 作为库使用 ### 作为库使用
* cargo add aha * cargo add aha
+2 -9
View File
@@ -24,17 +24,10 @@ fn qwen3vl_generate() -> Result<()> {
{ {
"url": "./assets/video/video_test.mp4" "url": "./assets/video/video_test.mp4"
} }
}, },
{
"type": "image",
"image_url":
{
"url": "file://./assets/img/voxcpm.png"
}
},
{ {
"type": "text", "type": "text",
"text": "描述视频和图片内容" "text": "视频中发生了什么"
} }
] ]
} }