-
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.
Merge pull request #29 from fallingmeteorite/main
修复翻译错误,添加comfyui基础内容
- Loading branch information
Showing
18 changed files
with
400 additions
and
226 deletions.
There are no files selected for viewing
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.
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,4 +1,4 @@ | ||
--- | ||
title: 前言 | ||
--- | ||
本文档为刚接触 Stable Diffusion 绘画的小白提供一个自助指南,从 SD WebUI 入手,学习 AI 绘画相关知识。 | ||
本文档为刚接触 Stable Diffusion 绘画的小白提供一个自助指南,学习 AI 绘画相关知识。 |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
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) | ||
|
||
*** | ||
|
||
# ComfyUI | ||
这里是有关 ComfyUI 的报错收集。 | ||
|
||
## 关于 ComfyUI | ||
ComfyUI 并没有比 SD WebUI 快多少,而 ComfyUI 的显存策略和 SD WebUI 不同,所以 ComfyUI 在很多时候显存占用会比 SD WebUI 低一点,所以没有所谓的 ComfyUI 比 SD WebUI 好。在 SD WebUI 中也有 [LightDiffusionFlow](https://github.com/Tencent/LightDiffusionFlow) 扩展实现 ComfyUI 的保存工作流,工作流可在 [LIGHTFLOW](https://www.lightflow.ai/) 寻找。 | ||
|
||
ComfyUI 的扩展生态一直存在着问题,各种扩展的环境依赖要求经常互相冲突,甚至和 ComfyUI 的环境依赖要求冲突,部分扩展可能还会互相冲突,导致 ComfyUI 无法正常运行,出现各种报错,所以入门 ComfyUI 需要做好面对报错的准备。 | ||
|
||
关于 ComfyUI 扩展生态的问题:[A rant about current custom nodes ecosystem · comfyanonymous/ComfyUI · Discussion #2635](https://github.com/comfyanonymous/ComfyUI/discussions/2635)。 | ||
|
||
这是避免 ComfyUI 环境坏掉的方法(来自绘世启动器开发者[喵喵hmkai](https://space.bilibili.com/2082155))。 | ||
|
||
0. 远离官方整合包和官方整合包的派生;如果不能远离,就远离里边自带的更新脚本,除非你不安装任何插件 | ||
1. 少装插件 | ||
2. 不要直接把插件压缩包或者文件夹拷进去,这不是 WebUI | ||
3. 不要直接 git clone 插件,这不是 WebUI | ||
4. 只有在用官方整合包的情况下使用 install.bat,其他情况均不使用 | ||
5. 插件能用列表装就别用链接装,有些额外的部件只有列表里装才会下载,这不是 WebUI | ||
|
||
*** | ||
|
||
## 为 ComfyUI 安装扩展 | ||
为 ComfyUI 安装扩展有几种方式。 | ||
|
||
1. 使用绘世启动器的版本管理:在绘世启动器的`版本管理`->`安装新扩展`,在扩展列表中选择扩展安装或者输入扩展地址进行安装。 | ||
2. 使用 [Comfyui-Manager](https://github.com/ltdrdata/ComfyUI-Manager):在安装 [Comfyui-Manager](https://github.com/ltdrdata/ComfyUI-Manager) 扩展后,使用 ComfyUI-Manger 的扩展安装功能安装扩展。 | ||
3. 使用 Git 命令:在 ComfyUI/custom_nodes 目录下使用`git clone 扩展地址`命令安装。 | ||
4. 手动从 Github 下载压缩包:在 Github 扩展项目中下载扩展的压缩包并解压到 ComfyUI/custom_nodes 目录中。(极不推荐!!!!!!) | ||
|
||
在安装和使用扩展前,请仔细阅读扩展作者的说明文档,并按照扩展作者的说明进行操作!!! | ||
|
||
*** |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
title: 基本工作流 | ||
--- | ||
|
||
## 提示词输入 | ||
|
||
您应该会看到两个标记为 CLIP Text Encode (Prompt) 的节点。在顶部输入您的提示,在底部输入您的提示。 | ||
|
||
CLIP Text Enode 节点首先将提示转换为标记,然后使用文本编码器将它们编码为嵌入。 | ||
|
||
您可以使用语法来控制关键字的权重。例如(keyword:1.2)以增加其效果。(关键字:0.8)以降低其效果。(keyword:weight) | ||
|
||
最上面的是正面提示,它连接到 KSampler 节点的正输入,底部的那个连接到否定的,所以它是用于负面提示的。 | ||
|
||
## 采样器 | ||
|
||
KSampler 是 Stable Diffusion 中图像生成的核心。采样器将随机图像降噪为与您的提示相匹配的图像。 | ||
|
||
KSampler 是指在此代码存储库中实现的采样器。 | ||
|
||
以下是 KSampler 节点中的参数。 | ||
|
||
seed:随机种子值控制潜在图像的初始噪声,从而控制最终图像的构图。 | ||
Control_after_generation:种子在每一代之后应该如何变化。它可以是随机值(随机化)、增加 1(增量)、减少 1(递减)或保持不变(固定)。 | ||
steps:采样步骤数。数值处理中值值越高,伪影越少。 | ||
Sampler_name:在这里,您可以设置采样算法。阅读采样器文章,了解入门知识。 | ||
scheduler:控制每个步骤中噪音水平的变化方式。 | ||
denoise:降噪过程应消除多少初始噪声。1 表示全部。 | ||
|
||
## 模型加载 | ||
|
||
在“模型检查点”节点中选择一个“稳定扩散检查点”模型。单击模型名称以显示可用模型列表。 | ||
|
||
## vae使用 | ||
|
||
VAE 仅用于最后一步:将图像从潜在空间转换为像素空间。换句话说,我们只使用自动编码器的解码器部分 | ||
|
||
## 图生图 | ||
|
||
Img2img 工作流程是 Stable Diffusion 中的另一个主要工作流程。它根据提示生成图像和输入图像。 | ||
|
||
您可以调整去噪强度,以控制稳定扩散应遵循基本图像的程度。 | ||
|
||
[下载图像到图像工作流](https://comfyanonymous.github.io/ComfyUI_examples/img2img/img2img_workflow.png) | ||
|
||
将此工作流图像拖放到 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: 基本逻辑 | ||
--- | ||
|
||
## 基本控制 | ||
使用鼠标滚轮或双指捏合放大和缩小。 | ||
|
||
拖动并按住输入或输出的点以形成连接。您只能在相同类型的输入和输出之间进行连接。 | ||
|
||
按住并拖动左键可在工作区中移动。 | ||
|
||
按 Ctrl-0 (Windows) 或 Cmd-0 (Mac) 显示“队列”面板。 | ||
|
||
## 搜索自定义节点 | ||
|
||
“添加节点”菜单可能不是查找自定义节点的最佳方式。安装许多自定义节点后,事情只会变得更加困难。 | ||
|
||
您可以双击任何空白区域以显示用于搜索节点的菜单。 | ||
|
||
## 节点 | ||
![node](../../assets/images/guide/comfyui/node.jpg) | ||
|
||
节点是矩形块,例如 Load Checkpoint、Clip Text Encoder 等。每个节点执行一些代码。如果你有一些编程经验,你可以把它们看作是函数。每个节点需要三样东西 | ||
|
||
左侧是数据导入处。 | ||
|
||
右侧是数据导出处。 | ||
|
||
参数是节点中心的部分。 | ||
|
||
## 工作流 | ||
![node](../../assets/images/guide/comfyui/workflows.jpg) | ||
|
||
工作流是由节点构成的,和SD的流程一样,要填写提示词和调试参数 | ||
|
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: 杂项 | ||
--- | ||
|
||
## 如何更新 ComfyUI | ||
要更新 ComfyUI: | ||
|
||
单击菜单中的管理器。 | ||
|
||
单击“更新 ComfyUI”。 | ||
|
||
完全重启 ComfyUI。 | ||
|
||
## 如何更新自定义节点 | ||
您可以使用 ComfyUI 管理器来更新自定义节点。 | ||
|
||
单击菜单中的管理器。 | ||
|
||
单击“获取更新”。这可能需要一段时间才能完成。 | ||
|
||
单击安装自定义节点。 | ||
|
||
如果有可用的更新,则已安装的自定义节点旁边将显示一个新的“更新”按钮。 | ||
|
||
单击“更新”以更新节点。 | ||
|
||
## |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: Comfyui概述 | ||
--- | ||
# 概述 | ||
|
||
ComfyUI使用户能够通过链接不同的块(称为节点)来构建复杂的图像生成工作流程。这些节点可以包括各种任务,如加载检查点模型(checkpoint loader)、输入提示、指定采样器等。 | ||
|
||
ComfyUI以其快速、流畅的图像生成能力,以及对低配置设备的友好性,迅速在创作者中流行起来。 | ||
|
||
ComfyUI的一个亮点是能够一键加载别的创作者分享的工作流,让用户轻松实现人像生成、背景替换和图片动画化等功能。它提供了极高的自由度和灵活性,支持高度的定制化和工作流复用,同时对系统配置的要求较低,生成速度相对较快。 | ||
|
||
ComfyUI的节点分为官方原生节点和用户开发的自定义节点。官方原生节点是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,5 +1,5 @@ | ||
--- | ||
title: 概述 | ||
title: SD_webui概述 | ||
--- | ||
# 概述 | ||
下面介绍 SD WebUI 中常见的参数。 | ||
|
Oops, something went wrong.