update readme
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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": "视频中发生了什么"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user