调用百炼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
评论
发表评论