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

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

http://www.xdnf.cn/news/1285.html

相关文章:

  • 【Linux应用】RADXA ZERO 3快速上手:镜像烧录、串口shell、外设挂载、WiFi配置、SSH连接、文件交互
  • Zookeeper是什么?基于zookeeper实现分布式锁
  • 软件黑盒与白盒测试详解
  • 同样的接口用postman/apifox能跑通,用jmeter跑就报错500
  • 【MCP】第二篇:IDE革命——用MCP构建下一代智能工具链
  • 【Linux】冯诺依曼体系结构及操作系统架构图的具体剖析
  • 【Ubuntu】关于系统分区、挂载点、安装位置的一些基本信息
  • 【算法笔记】动态规划基础(一):dp思想、基础线性dp
  • 【k8s】docker、k8s、虚拟机的区别以及使用场景
  • sentinel
  • CATBOOST算法总结
  • vscode如何多行同时编辑,vscode快速选中多行快捷键
  • 使用 JUnit 4在 Spring 中进行单元测试的完整步骤
  • 【数据结构入门训练DAY-21】信息学奥赛一本通T1334-围圈报数
  • 深入剖析TCP协议(内容二):从OSI与TCP/IP网络模型到三次握手、四次挥手、状态管理、性能优化及Linux内核源码实现的全面技术指南
  • 基于cubeMX的hal库STM32实现MQ2烟雾浓度检测
  • 软考软件设计师30天备考指南
  • 升级xcode16之后react-native-zip-archive不兼容,unsupported option ‘-G‘
  • The backpropagation and the brain
  • Java与C语言核心差异:从指针到内存管理的全面剖析
  • Node.js学习
  • WT2000T专业录音芯片:破解普通录音设备信息留存、合规安全与远程协作三大难题
  • 【k8s系列7-更新中】kubeadm搭建Kubernetes高可用集群-三主两从
  • .NET 6 WPF 利用CefSharp.Wpf.NETCore显示PDF文件
  • 什么是 GLTF/GLB? 3D 内容创建的基本数据格式说明,怎么下载GLB/GLTF格式模型
  • HarmonyOS 是 Android 套壳嘛?
  • 【C语言】动态内存的常见错误
  • Git远程操作与标签管理
  • Linux权限
  • 数据结构:栈