【AI应用】免费代码仓构建定制版本的ComfyUI应用镜像

1 创建代码仓

1.1 注册登陆

https://cnb.cool

1.2 创建代码仓

  • 为仓库起名
    在这里插入图片描述
  • 选择【云原生开发】初始化仓库
    在这里插入图片描述
    在这里插入图片描述

1.5 安装中文语言包

在这里插入图片描述

1.4 拉取ComfyUI官方代码

cnb-init-from https://github.com/comfyanonymous/ComfyUI

在这里插入图片描述

2 配置参数和预装插件

2.1 保留插件和模型的版本控制

把目录custom_nodes和models加入版本控制,以保留我们预装的插件。

  • 修改.gitignore文件,移除custom_nodes和models
    在这里插入图片描述
    在这里插入图片描述

  • 更新修改到代码仓

# 推送到远程仓库 master 分支
git checkout master
git add .gitignore
git commit -m "Modifyed .gitignore file"
git push origin master

在这里插入图片描述

2.2 克隆插件到代码仓

2.2.1 下载插件

# 安装插件
cd /workspace/custom_nodes
git clone https://github.com/ltdrdata/ComfyUI-Manager ComfyUI-Manager
git clone https://github.com/AIGODLIKE/AIGODLIKE-ComfyUI-Translation AIGODLIKE-ComfyUI-Translation
git clone https://github.com/yolain/ComfyUI-Easy-Use ComfyUI-Easy-Use
git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite ComfyUI-VideoHelperSuite
git clone https://github.com/crystian/ComfyUI-Crystools comfyui-crystools
git clone https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet comfyui_custom_nodes_alekpet
git clone https://github.com/pythongosssss/ComfyUI-WD14-Tagger comfyui-wd14-tagger
git clone https://github.com/chflame163/ComfyUI_LayerStyle ComfyUI_LayerStyle
git clone https://github.com/kijai/ComfyUI-DepthAnythingV2 comfyui-depthanythingv2
git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale comfyui_ultimatesdupscale
git clone https://github.com/kijai/ComfyUI-SUPIR comfyui-supir
git clone https://github.com/Fannovel16/comfyui_controlnet_aux comfyui_controlnet_aux
git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus ComfyUI_IPAdapter_plus 
git clone https://github.com/lldacing/ComfyUI_PuLID_Flux_ll comfyui_pulid_flux_ll
git clone https://github.com/Gourieff/ComfyUI-ReActor comfyui-reactor
git clone https://github.com/kijai/ComfyUI-segment-anything-2 ComfyUI-segment-anything-2
git clone https://github.com/EvilBT/ComfyUI_SLK_joy_caption_two ComfyUI_SLK_joy_caption_two
git clone https://github.com/AIDC-AI/ComfyUI-Copilot comfyui-copilot
git clone https://github.com/city96/ComfyUI-GGUF ComfyUI-GGUF
git clone https://github.com/kijai/ComfyUI-IC-Light comfyui-ic-light
git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack ComfyUI-Impact-Pack
git clone https://github.com/florestefano1975/comfyui-portrait-master comfyui-portrait-master 
git clone https://github.com/Derfuu/Derfuu_ComfyUI_ModdedNodes derfuu_comfyui_moddednodes
git clone https://github.com/rgthree/rgthree-comfy rgthree-comfy

在这里插入图片描述

2.2.2 把插件设置本仓库的子模块管理

# 把插件添加到仓库子模块管理
cd /workspace
git submodule add https://github.com/AIGODLIKE/AIGODLIKE-ComfyUI-Translation custom_nodes/AIGODLIKE-ComfyUI-Translation
git submodule add https://github.com/yolain/ComfyUI-Easy-Use custom_nodes/ComfyUI-Easy-Use
git submodule add https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite custom_nodes/ComfyUI-VideoHelperSuite
git submodule add https://github.com/ltdrdata/ComfyUI-Manager custom_nodes/ComfyUI-Manager
git submodule add https://github.com/crystian/ComfyUI-Crystools custom_nodes/comfyui-crystools
git submodule add https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet custom_nodes/comfyui_custom_nodes_alekpet
git submodule add https://github.com/pythongosssss/ComfyUI-WD14-Tagger custom_nodes/comfyui-wd14-tagger
git submodule add https://github.com/chflame163/ComfyUI_LayerStyle custom_nodes/ComfyUI_LayerStyle
git submodule add https://github.com/kijai/ComfyUI-DepthAnythingV2 custom_nodes/comfyui-depthanythingv2
git submodule add https://github.com/ssitu/ComfyUI_UltimateSDUpscale custom_nodes/comfyui_ultimatesdupscale
git submodule add https://github.com/kijai/ComfyUI-SUPIR custom_nodes/comfyui-supir
git submodule add https://github.com/Fannovel16/comfyui_controlnet_aux custom_nodes/comfyui_controlnet_aux
git submodule add https://github.com/cubiq/ComfyUI_IPAdapter_plus custom_nodes/ComfyUI_IPAdapter_plus 
git submodule add https://github.com/lldacing/ComfyUI_PuLID_Flux_ll custom_nodes/comfyui_pulid_flux_ll
git submodule add https://github.com/Gourieff/ComfyUI-ReActor custom_nod
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值