-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
230 additions
and
113 deletions.
There are no files selected for viewing
Binary file added
BIN
+188 KB
...ages/guide/comfyui/input_workflow/fix_node_import_failed_by_comfyui_manager.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+23.6 KB
docs/assets/images/guide/comfyui/input_workflow/missing_node_notice.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+123 KB
.../images/guide/comfyui/input_workflow/search_missing_node_by_comfyui_manager.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+197 KB
docs/assets/images/guide/comfyui/interface_operation/comfyui_manager_interface.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,83 @@ | ||
--- | ||
title: 杂项 | ||
--- | ||
# 杂项 | ||
这里列出 ComfyUI 的其他功能。 | ||
|
||
## 如何更新 ComfyUI | ||
要更新 ComfyUI: | ||
|
||
单击菜单中的管理器。 | ||
## ComfyUI 中不同模型的放置路径 | ||
|模型种类|放置路径| | ||
|---|---| | ||
|Stable Diffusion 模型(大模型)|ComfyUI/models/checkpoints| | ||
|VAE 模型|ComfyUI/models/vae| | ||
|VAE-approx 模型|ComfyUI/models/vae_approx| | ||
|LoRA Lycoris 模型|ComfyUI/models/loras| | ||
|Embedding 模型|ComfyUI/models/embeddings| | ||
|Hypernetwork 模型|ComfyUI/models/hypernetworks| | ||
|高清修复模型|ComfyUI/models/upscale_models| | ||
|ControlNet 模型|ComfyUI/models/controlnet| | ||
|ControlNet 预处理器模型|ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts| | ||
|AnimateDiff 模型|ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/models| | ||
|DanTagGen 模型|ComfyUI/custom_nodes/ComfyUI_DanTagGen/models| | ||
|
||
单击“更新 ComfyUI”。 | ||
|
||
完全重启 ComfyUI。 | ||
## ComfyUI 共享 SD WebUI 的模型 | ||
在 ComfyUI 启动一次后,在 ComfyUI 的根目录会生成一个 extra_model_paths.yaml.example 共享目录示例文件,通过修改这个文件可以使 ComfyUI 共享 SD WebUI 的模型文件。 | ||
|
||
## 如何更新自定义节点 | ||
您可以使用 ComfyUI 管理器来更新自定义节点。 | ||
这是一个例子,我的 SD WebUI 路径在 E:/Softwares/stable-diffusion-webui,则将这个示例文件的 base_path: 后面的路径改成 SD WebUI 的路径。 | ||
|
||
单击菜单中的管理器。 | ||
```yaml | ||
#Rename this to extra_model_paths.yaml and ComfyUI will load it | ||
|
||
单击“获取更新”。这可能需要一段时间才能完成。 | ||
|
||
单击安装自定义节点。 | ||
#config for a1111 ui | ||
#all you have to do is change the base_path to where yours is installed | ||
a111: | ||
base_path: E:/Softwares/stable-diffusion-webui # 填写 SD WebUI 的路径, 注意冒号后面必须有空格 | ||
|
||
如果有可用的更新,则已安装的自定义节点旁边将显示一个新的“更新”按钮。 | ||
checkpoints: models/Stable-diffusion # 大模型 | ||
configs: models/Stable-diffusion # 大模型配置文件 | ||
vae: models/VAE # VAE 模型 | ||
loras: | # LoRA 模型 | ||
models/Lora | ||
models/LyCORIS | ||
upscale_models: | # 放大模型 | ||
models/ESRGAN | ||
models/RealESRGAN | ||
models/SwinIR | ||
embeddings: embeddings # Embedding 模型 | ||
hypernetworks: models/hypernetworks # Hypernetwork 模型 | ||
controlnet: models/Controlnet # ControlNet 模型 | ||
ipadapter: models/Controlnet # IP Adapter 模型 | ||
clip_vision: extensions/sd-webui-controlnet/annotator/downloads/clip_vision # clip_vision 模型 | ||
# animatediff模型共享的说明: https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved?tab=readme-ov-file#model-setup | ||
animatediff_models: extensions/sd-webui-animatediff/model # AnimateDiff 模型 | ||
animatediff_motion_lora: extensions/sd-webui-animatediff/model # AnimateDiff LoRA 模型 | ||
|
||
单击“更新”以更新节点。 | ||
|
||
#config for comfyui | ||
#your base path should be either an existing comfy install or a central folder where you store all of your models, loras, etc. | ||
|
||
comfyui: | ||
# base_path: path/to/comfyui/ | ||
# checkpoints: models/checkpoints/ | ||
# clip: models/clip/ | ||
# configs: models/configs/ | ||
# controlnet: models/controlnet/ | ||
# embeddings: models/embeddings/ | ||
# loras: models/loras/ | ||
# upscale_models: models/upscale_models/ | ||
# vae: models/vae/ | ||
|
||
|
||
#other_ui: | ||
# base_path: path/to/ui | ||
# checkpoints: models/checkpoints | ||
# gligen: models/gligen | ||
# custom_nodes: path/custom_nodes | ||
``` | ||
|
||
修改并保存文件完成后,将 extra_model_paths.yaml.example 文件名改成 extra_model_paths.yaml,重新启动 ComfyUI 后就能看到 SD WebUI 里的模型了。 | ||
|
||
!!!note | ||
如果看不到文件名的后缀,需要将显示文件名后缀打开,参看:[杂项 - 显示隐藏的文件和文件后缀名 - SDNote](../../help/other.md#_4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,84 @@ | ||
--- | ||
title: 导入工作流 | ||
--- | ||
工作流除了可以自己搭建,也可以从其他地方下载工作流并导入。 | ||
|
||
## ComfyUI管理器 | ||
[ComfyUI 管理器](https://github.com/ltdrdata/ComfyUI-Manager)是一个自定义节点,允许您通过 ComfyUI 界面安装和更新其他自定义节点。 | ||
|
||
单击它会显示一个 GUI,可让您 安装/卸载自定义节点。 | ||
|
||
在当前工作流中安装缺少的节点。 | ||
## 工作流下载 | ||
常用工作流网站 | ||
|
||
安装检查点模型、AI 升频器、VAE、LoRA、ControlNet 模型等模型。 | ||
更新 ComfyUI UI。 | ||
- [OpenArt](https://openart.ai/home) | ||
|
||
阅读社区手册。 | ||
OpenArt 作为一款集云端运行 ComfyUI 工作流和 AI 图像创作于一体的平台,OpenArt 提供了强大的 AI 图像创作功能,还提供了云端运行和可免费下载 ComfyUI 工作流,但国内的网不什么好访问。 | ||
|
||
- [Comfy Workflows](https://comfyworkflows.com/workflows) | ||
|
||
## 如何安装缺少的自定义节点 | ||
您可能尚未安装工作流中所需的所有自定义节点。加载工作流文件后,执行以下步骤以安装缺少的自定义节点。 | ||
Comfy Workflows 上也有很多免费的可用的工作流提供下载,可能没有OpenArt多,但好在国内可以访问到 | ||
|
||
单击菜单中的管理器。 | ||
- [Civitai](https://civitai.com/models) | ||
|
||
单击“安装缺少的自定义节点”。 | ||
Civitai 不仅提供了各种模型的下载,还提供了工作流的下载,只要在过滤器里选择工作流选项,就可以看到很多可免费下载的工作流。 | ||
|
||
完全重启 ComfyUI。 | ||
|
||
## 导入工作流 | ||
常用工作流网站 | ||
工作流下载后格式一般是 json 或者 png,可以在 ComfyUI 侧边栏点击 加载 按钮加载工作流文件,也可以将工作流文件从文件管理器拖到 ComfyUI 界面中进行加载。 | ||
|
||
[OpenArt](https://openart.ai/home) | ||
|
||
OpenArt OpenArt作为一款集云端运行ComfyUI工作流和AI图像创作于一体的平台,OpenArt提供了强大的AI图像创作功能,还提供了云端运行和可免费下载ComfyUI工作流,但国内的网不什么好访问。 | ||
## 解决节点缺失 | ||
如果 ComfyUI 缺少工作流中某些节点所需的扩展,ComfyUI 将弹窗提示哪个节点缺失。 | ||
|
||
![missing_node_notice](../../assets/images/guide/comfyui/input_workflow/missing_node_notice.jpg) | ||
|
||
[Comfy Workflows](https://comfyworkflows.com/workflows) | ||
在工作流界面中表现为节点颜色为红色,并显示 Undefined(因为缺失节点对应的扩展导致节点未定义)。 | ||
|
||
Comfy Workflows 上也有很多免费的可用的工作流提供下载,可能没有OpenArt多,但好在国内可以访问到 | ||
![undefined_node](../../assets/images/guide/comfyui/input_workflow/undefined_node.jpg) | ||
|
||
[Civitai](https://civitai.com/models) | ||
这时候可以点击 ComfyUI 侧边栏的 管理器 -> 安装缺失节点,ComfyUI-Manager 将自动搜索工作流节点 | ||
|
||
Civitai 不仅提供了各种模型的下载,还提供了工作流的下载,只要在过滤器里选择工作流选项,就可以看到很多可免费下载的工作流。 | ||
![search_missing_node_by_comfyui_manager](../../assets/images/guide/comfyui/input_workflow/search_missing_node_by_comfyui_manager.jpg) | ||
|
||
在界面中可以看到 ComfyUI-Manager 搜索出来的缺失节点,点击 Install 后重启 ComfyUI 使扩展生效。 | ||
|
||
如果使用 ComfyUI-Manager 的安装缺少依赖功能未搜索到节点对应的扩展,可以尝试在下载工作流的地方查找该工作流需要安装什么扩展,并使用 ComfyUI-Manager 的通过 Git URL 安装功能进行安装。 | ||
|
||
有些情况下,下载到的工作流使用了旧版的扩展进行搭建,当扩展出现了破坏性更新后,原有的工作流将不再兼容新的扩展,也就会出现工作流中某些节点显示 Undefined。这时候只能只能将工作流出现问题的地方重新搭建,或者选择将节点对应的扩展回退到旧版本。 | ||
|
||
|
||
## 修复导入失败的扩展 | ||
在 ComfyUI 启动完成后,在控制台将显示扩展加载的情况,如下: | ||
|
||
``` | ||
Import times for custom nodes: | ||
0.0 seconds: E:\Softwares\ComfyUI\custom_nodes\websocket_image_save.py | ||
0.0 seconds: E:\Softwares\ComfyUI\custom_nodes\AIGODLIKE-COMFYUI-TRANSLATION | ||
0.0 seconds (IMPORT FAILED): E:\Softwares\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger | ||
0.5 seconds: E:\Softwares\ComfyUI\custom_nodes\comfyui_controlnet_aux | ||
0.5 seconds: E:\Softwares\ComfyUI\custom_nodes\ComfyUI-Manager | ||
Starting server | ||
To see the GUI go to: http://0.0.0.0:8188 | ||
``` | ||
|
||
如果看见某个扩展被标记为 (IMPORT FAILED),说明该扩展加载失败,扩展加载失败的原因有以下几种可能,以及解决方法。 | ||
|
||
|
||
- 扩展的版本较低,不兼容 ComfyUI,或者 ComfyUI 版本较低,不兼容扩展。 | ||
|
||
可尝试将 ComfyUI 和 扩展都更到最新版本来解决,在 ComfyUI-Manager 中点击更新全部即可更新 ComfyUI 和扩展。 | ||
|
||
|
||
- 扩展安装后出现扩展自身文件不完整,无法正常运行 | ||
|
||
## 导入工作流报错 | ||
加载工作流时,有的会出现节点变成红色,则代表这些节点出现了问题: | ||
尝试将扩展卸载后重新安装。 | ||
|
||
第一种方法: | ||
打开管理器—>安装缺失节点: | ||
|
||
然后全部选择,点安装,等待安装完成之后重启ComfyUI。 | ||
- 扩展所需的依赖缺失 | ||
|
||
第二种方法: | ||
尝试安装扩展所需的依赖。 | ||
|
||
有些节点使用第一种方法并不能安装成功,这时可以使用源码对其进行安装,还是先打开管理器—>安装缺失节点,到安装节点的界面不点安装或者者更新,点名称里面的网址,这时会跳到一个git的源码界面: | ||
在 ComfyUI-Manager 中,进入节点管理,可以看到加载失败的扩展(显示 IMPORT FAILED)。 | ||
|
||
跳到源码界面,点下载源码,这时候你可以下载压缩包或者使用git clone进行下载。 | ||
![fix_node_import_failed_by_comfyui_manager](../../assets/images/guide/comfyui/input_workflow/fix_node_import_failed_by_comfyui_manager.jpg) | ||
|
||
下载后解压放到到ConfyUI/custom_nodes目录下,重启ConfyUI。 | ||
选择 Try fix 后重启 ComfyUI,ComfyUI-Manager 将在启动 ComfyUI 时尝试安装该扩展的依赖,一般依赖安装成功后可以解决加载扩展失败的问题。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
--- | ||
title: ComfyUI 部署 | ||
--- | ||
## 部署 | ||
# 部署 | ||
部署 ComfyUI 可以通过以下途径。 | ||
|
||
- 整合包部署:[【AI绘画】ComfyUI整合包发布!解压即用 一键启动 工作流版界面 超多节点 ☆更新 ☆汉化 秋叶整合包_哔哩哔哩_bilibili](https://www.bilibili.com/video/BV1Ew411776J) | ||
- 绘世启动器部署:[什么,绘世启动器还能安装ComfyUI(全新篇——安装与配置) - 哔哩哔哩](https://www.bilibili.com/read/cv28869554) | ||
- 从源码部署:[comfyanonymous/ComfyUI - Installing](https://github.com/comfyanonymous/ComfyUI?tab=readme-ov-file#installing) | ||
## 整合包部署 | ||
[【AI绘画】ComfyUI整合包发布!解压即用 一键启动 工作流版界面 超多节点 ☆更新 ☆汉化 秋叶整合包_哔哩哔哩_bilibili](https://www.bilibili.com/video/BV1Ew411776J) | ||
|
||
|
||
## 绘世启动器部署 | ||
[什么,绘世启动器还能安装ComfyUI(全新篇——安装与配置) - 哔哩哔哩](https://www.bilibili.com/read/cv28869554) | ||
|
||
|
||
## 从源码部署 | ||
[comfyanonymous/ComfyUI - Installing](https://github.com/comfyanonymous/ComfyUI?tab=readme-ov-file#installing) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.