当前位置: 首页 > news >正文

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

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

  • 1 创建代码仓
    • 1.1 注册登陆
    • 1.2 创建代码仓
    • 1.5 安装中文语言包
    • 1.4 拉取ComfyUI官方代码
  • 2 配置参数和预装插件
    • 2.1 保留插件和模型的版本控制
    • 2.2 克隆插件到代码仓
      • 2.2.1 下载插件
      • 2.2.2 把插件设置本仓库的子模块管理
  • 3 定制Docker镜像
    • 3.1 创建Dockfile
    • 3.2 同步Dockfile到仓库
    • 3.3 使用Dockfile构建Docker镜像
    • 3.4 为Docker镜像创建自启动配置
  • 4. 部署在线服务
    • 4.1 关闭原生开发服务并删除
    • 4.2 新建云原生开发环境
      • 4.2.1 创建失败
      • 4.2.2 开放公共权限
    • 4.3 启动ComfyUI
      • 4.3.1 开放所有IP访问的启动方式
      • 4.3.2 免费成果

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 把插件设置本仓库的子模块管理

相关文章:

  • 声纹振动传感器在电力监测领域的应用
  • 数据一致性问题剖析与实践(三)——分布式事务的一致性问题
  • Spring Boot中的监视器:Actuator的原理、功能与应用
  • JavaScript 防抖和节流
  • JavaFX 第一篇 Hello World
  • 在线测试来料公差
  • 【开源】STM32HAL库移植Arduino OneWire库驱动DS18B20和MAX31850
  • 香港科技大学广州|先进材料学域博士招生宣讲会—南开大学专场
  • OpenCV 图形API(54)颜色空间转换-----将图像从 RGB 色彩空间转换到 HSV色彩空间RGB2HSV()
  • day001
  • 计算机网络笔记(七)——1.7计算机网络体系结构
  • 无穿戴动捕:突破穿戴式设备束缚,解锁更自由高效的动作捕捉体验
  • Linux/AndroidOS中进程间的通信线程间的同步 - IPC方式简介
  • 智能配送机器人控制系统设计
  • MySQL 8.4企业版 安装和配置审计插件
  • 0422--在网页中上传头像(图片)
  • ChatBEV:一种理解 BEV 地图的可视化语言模型
  • 【论文阅读25】-滑坡时间预测-PFTF
  • 解耦旧系统的利器:Java 中的适配器模式(Adapter Pattern)实战解析
  • bert4keras
  • 中华人民共和国和肯尼亚共和国关于打造新时代全天候中非命运共同体典范的联合声明
  • 国家卫健委:坚决反对美国白宫网站翻炒新冠病毒“实验室泄漏”
  • 我国将组织实施梦舟飞船零高度逃逸、揽月着陆器综合着陆起飞验证等试验
  • 贵州省交通运输厅原副厅长冯伟已任遵义市领导
  • 网培机构围猎中老年人:低价引流卖高价课、“名师”无资质,舆论呼吁加强监管
  • 黎巴嫩“伊斯兰集团”组织证实其高级成员在以军空袭中丧生