Page cover image

3.3 ComfyUI install 教程-2

本小节主要介绍的为comfyUI 安装中文界面,实用中文界面的进行的配置

一:配置为中文界面

首先需要在ComfyUI 下面安装部分插件,插件的安装

cd ComfyUI/custom_nodes #直接克隆

git clone 
https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION
 git clone 
https://github.com/twri/sdxl_prompt_styler
 git clone 
https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet
 git clone 
https://github.com/pythongosssss/ComfyUI-Custom-Scripts
 git clone 
https://github.com/ltdrdata/ComfyUI-Manager.git

当然这里还有一些其他的ComfyUI 辅助的相关的程序,请在这里进行查看

辣椒酱的界面汉化: https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION 提示词风格样式: https://github.com/twri/sdxl_prompt_styler 提示词中文输入: https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet 小瑞士军刀美化辅助: https://github.com/pythongosssss/ComfyUI-Custom-Scripts ComfyUI Manager:https://github.com/ltdrdata/ComfyUI-Manager.git

这样下我么就可以设置中文的说明了,这样可以中文操作的了

二:修改的配置文件

修改配置文件,我们需要修改配置文件,之所以要修改配置文件是因为的,配置文件决定了的你所需要的模型的文件所在的位置,因为我们知道很多模型文件是比较大的,为了不占用太多的服务的资源,我们可以使用的已经下载好的模型文件,可以修改配置文件下的模型的位置

cp extra_model_paths.yaml.example extra_model_paths.yaml

编辑 extra_model_paths.yaml

修改checkpoints的路径和其他模型路径,请根据你实际放置位置来修改:我这边的直接使用现有的模型位置,就是自己程序的安装的位置 base_path: /app/ComfyUI/ 就是你自己的程序安装的位置

checkpoints: models/checkpoints
configs: models/configs
vae: models/VAE
loras: |
     models/Lora
     models/LyCORIS
upscale_models: |
              models/ESRGAN
              models/RealESRGAN
              models/SwinIR
embeddings: embeddings
hypernetworks: models/hypernetworks
controlnet: models/ControlNet

三:下载相关的大模型

需要注意的是,大模型的下载的使用的为了保障模型下载的完整性请使用,这里仅仅是给出来的一些常见的模型的下载,因为我们知道的在comfyUI 下是需要配合很多模型的

1、stable-diffusion-xl-base-1.0

git clone https://www.modelscope.cn/AI-ModelScope/stable-diffusion-xl-base-1.0.git

2、stable-diffusion-xl-refiner-1.0

git clone https://www.modelscope.cn/AI-ModelScope/stable-diffusion-xl-refiner-1.0.git

3、stable-diffusion-v1.5

git clone https://www.modelscope.cn/AI-ModelScope/stable-diffusion-v1.5-no-safetensor.git

请看官方的描述的之中的,模型应该放置的位置的

Put your SD checkpoints (the huge ckpt/safetensors files) in: models/checkpoints

在实际的下载的过程发现下载的很慢,这个时候可以使用新的下载的方法

或者使用这种命令操作—最终使用的是这种的下载的方法

git lfs install
git clone 
https://www.modelscope.cn/AI-ModelScope/stable-diffusion-xl-base-1.0.git

git lfs clone 
https://www.modelscope.cn/AI-ModelScope/stable-diffusion-xl-refiner-1.0.git

git clone 
https://www.modelscope.cn/AI-ModelScope/stable-diffusion-v1.5-no-safetensor.git

模型下载比较慢,请在下载的过程之中耐心等待服务器下载的,有些比较大的模型甚至达到了几十G 的大小。在下载完成之后,实际的操作的过程的之中我们发现还有一些模型需要下载的,这个时候我们直接下载就可以的,例如这个模型是去除背景的模型。

git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved.git

根据之后的经验还需要下载几个常用的模型的,例如出去背景的模型等

下载 /media/sd-web/ComfyUI/custom_nodes

git lfs install
git clone 
https://github.com/ZHO-ZHO-ZHO/ComfyUI-BRIA_AI-RMBG.git

P000—如何在使用过程之中发现缺失的模型的并下载

报错处理过程

P001—典型大模型说明

如何使用 QualityOfLifeSuit_Omar92 模型,**ComfyUI-extra-nodes – quality of life,**引入了chatgpt3和DalE-2来辅助图片的生成。

这里可以修改配置文件json,可以使用的openai 的API 进行辅助化设计。

参考文章:

https://www.yrucd.com/academy/709813.html

Last updated