使用人工智能工具箱快速生成短视频,简单操作过程分享

发布时间:2024-07-05 11:28:31 浏览量:142次

使用人工智能工具箱快速生成短视频,简单操作过程分享

废话不多说,直接开始操作。

第1步,先拉取代码+安装依赖

代码仓:https://github.com/comfyanonymous/ComfyUI.git

跟着代码仓的README准备基础环境。主要步骤如下:

git clone https://github.com/comfyanonymous/ComfyUI.git// 根据不同显卡选择安装不同的依赖// AMD GPUs (Linux only)pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7// NVIDIApip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121// 拉取依赖pip install -r requirements.txt// 启动服务python main.py

如果一切顺利,在运行python main.py后,访问http://127.0.0.1:8188,你将看到画面如下:

操作界面

第2步,安装Manager插件

Manager插件代码仓:
https://github.com/ltdrdata/ComfyUI-Manager

命令行进入custom_nodes目录,克隆manager代码:

cd custom_nodesgit clone https://github.com/ltdrdata/ComfyUI-Manager.git

完成后,cd到代码根目录,运行

python main.py

页面右下角浮窗模块中会新增Manager模块。

Manager模块

第3步,安装汉化插件

喜欢使用中文界面的话,这一步很重要。

汉化插件:https://github.com/AIGODLIKE/AIGODLIKE-ComfyUI-Translation

命令行进入custom_nodes目录,克隆Translation代码:

cd custom_nodesgit clone https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION.git

完成后,cd到代码根目录,运行

python main.py

页面右下角浮窗模块中会新增Switch Locale模块。

Switch Locale模块

......

热门课程推荐

热门资讯

请绑定手机号

x

同学您好!

您已成功报名0元试学活动,老师会在第一时间与您取得联系,请保持电话畅通!
确定