调用百炼API实现本地视频动作迁移(Wan2.2-Animate)

1、拉取项目镜像文件

git clone https://huggingface.co/spaces/Wan-AI/Wan2.2-Animate
cd Wan2.2-Animate

2、创建并激活虚拟环境

conda create -n wan2.2 python=3.10 -y && conda activate wan2.2

3、安装依赖文件

pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install gradio -i https://pypi.tuna.tsinghua.edu.cn/simple

4、申请百炼平台的API并修改app.py文件(第14行:等号右侧为申请到的API Key)




5、运行app.py






评论

此博客中的热门博文

通过命令行在Github上发布项目的新版本

利用GitHub免费的静态页面托管空间发布网页

本地部署OpenAvatarChat实时交互数字人系统