这是一个包含各种 ComfyUI 工作流的项目仓库,涵盖了 AI 图像生成、视频制作、3D 生成、音频处理等多个领域。所有工作流均经过优化,适合不同水平的用户使用。
包含大量中文优化的 ComfyUI 工作流,适合中文用户使用。
主要分类:
子目录:
hunyuandit/ - 混元 DiT 工作流集(详细文档)重绘、扩图、擦除BrushNet+PowerPaint给你完美解决/ - BrushNet + PowerPaint 工作流集(详细文档)凡人-视频转绘/ - 凡人视频转绘工作流集(详细文档)ComfyUI 相关文档和资源集合。
2_pass_txt2img/ - 两阶段文本生成图像3d/ - 3D 图像生成area_composition/ - 区域合成flux/ - Flux 模型工作流flux2/ - Flux 2.0 工作流hidream/ - HiDream 模型工作流hunyuan_dit/ - 混元 DiT 图像生成hunyuan_image/ - 混元图像生成lumina2/ - Lumina 2 模型omnigen/ - OmniGen 模型sd3/ - Stable Diffusion 3sdxl/ - Stable Diffusion XLstable_cascade/ - Stable Cascadeunclip/ - UnCLIP 模型z_image/ - Z 图像生成video/ - 视频生成和处理ltxv/ - LTXV 视频生成mochi/ - Mochi 视频生成wan/ - Wan 视频生成wan22/ - Wan 2.2 视频生成hunyuan_video/ - 混元视频生成cosmos/ - Cosmos 视频生成cosmos_predict2/ - Cosmos Predict 2inpaint/ - 图像重绘和修复img2img/ - 图像到图像转换edit_models/ - 编辑模型hypernetworks/ - 超网络lora/ - LoRA 模型model_merging/ - 模型合并noisy_latent_composition/ - 噪声潜在组合controlnet/ - ControlNet 工作流lcm/ - LCM (Latent Consistency Models)audio/ - 音频处理images/ - 图像示例faq/ - 常见问题# 克隆 ComfyUI 仓库
git clone https://github.com/comfyanonymous/ComfyUI
cd ComfyUI
# 创建虚拟环境(推荐)
python -m venv venv
source venv/bin/activate # Linux/Mac
# 或
venv\Scripts\activate # Windows
# 安装依赖
pip install -r requirements.txt
# 启动 ComfyUI
python main.py --listen 0.0.0.0 --port 8188
http://127.0.0.1:8188.json 工作流文件cd ComfyUI/custom_nodes
# 常用节点
git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus
git clone https://github.com/cubiq/ComfyUI_InstantID
git clone https://github.com/ZHO-ZHO-ZHO/ComfyUI-YoloWorld-EfficientSAM
git clone https://github.com/nullquant/ComfyUI-BrushNet
git clone https://github.com/kijai/ComfyUI-IC-Light
git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite
git clone https://github.com/maepopi/Diffusers-in-ComfyUI
| 模型 | 用途 | 显存需求 | 推荐场景 |
|---|---|---|---|
| Stable Diffusion 1.5 | 基础图像生成 | 4GB+ | 日常使用,快速生成 |
| Stable Diffusion 2.1 | 改进版 SD | 6GB+ | 高质量图像生成 |
| Stable Diffusion XL (SDXL) | 高分辨率生成 | 8GB+ | 专业图像创作 |
| Stable Diffusion 3 (SD3) | 最新 SD 系列 | 12GB+ | 高质量图像生成 |
| Stable Cascade | 高效生成 | 6GB+ | 快速高质量生成 |
| Flux | 新一代模型 | 12GB+ | 现代风格生成 |
| 混元 DiT (HunyuanDiT) | 中文优化 | 8GB+ | 中文提示词生成 |
| PixArt-sigma | 高质量生成 | 8GB+ | 艺术创作 |
| 模型 | 用途 | 显存需求 | 特点 |
|---|---|---|---|
| LTXV | 快速视频生成 | 8GB+ | 实时生成 |
| Mochi | 高质量视频 | 12GB+ | 细节丰富 |
| Wan | 通用视频生成 | 16GB+ | 多样化风格 |
| Cosmos | NVIDIA 视频 | 12GB+ | 高性能 |
| 混元视频 (HunyuanVideo) | 中文视频 | 12GB+ | 中文优化 |
| 模型 | 用途 | 安装位置 |
|---|---|---|
| InstantID | 人脸身份保持 | models/instantid/ |
| IPAdapter | 图像提示适配器 | models/ipadapter/ |
| ControlNet | 结构控制 | models/controlnet/ |
| BrushNet | 图像修复 | models/inpaint/brushnet_sd1.5/ |
| PowerPaint | 智能修复 | models/inpaint/ |
| SUPIR | 图像放大 | models/supir/ |
| 混元 DiT | 中文生成 | models/hunyuan/ckpts/ |
InstantID - 人脸换脸和身份保持
git clone https://github.com/cubiq/ComfyUI_InstantID
IPAdapter - 图像风格和构图迁移
git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus
ControlNet - 结构控制和引导
BrushNet - 高级图像修复
git clone https://github.com/nullquant/ComfyUI-BrushNet
PowerPaint - 智能图像编辑
IC-Light - 光照处理
git clone https://github.com/kijai/ComfyUI-IC-Light
ComfyUI-VideoHelperSuite - 视频加载和保存
git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite
AnimateDiff - 动画生成
git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved
YoloWorld-EfficientSAM - 目标检测和分割
git clone https://github.com/ZHO-ZHO-ZHO/ComfyUI-YoloWorld-EfficientSAM
GroundingDINO - 文本引导目标检测
git clone https://github.com/IDEA-Research/GroundingDINO
Diffusers-in-ComfyUI - Diffusers 管道支持
git clone https://github.com/maepopi/Diffusers-in-ComfyUI
| 任务 | 最低显存 | 推荐显存 |
|---|---|---|
| SD 1.5 生成 | 4GB | 8GB |
| SDXL 生成 | 8GB | 12GB |
| SD3 生成 | 12GB | 16GB |
| Flux 生成 | 12GB | 24GB |
| 视频生成 | 12GB | 24GB |
| 高分辨率放大 | 8GB | 16GB |
基本规则:
(keyword:1.2) 增强强度,(keyword:0.8) 降低强度正面提示词示例:
美丽的风景画,山脉和湖泊,日落时分,高清,细节丰富,电影级光照
负面提示词示例:
模糊,低质量,变形,丑陋,多余的手指,水印,文字
权重调整:
(keyword:1.5) - 大幅增强 (keyword:1.2) - 轻微增强 (keyword:0.8) - 轻微减弱 (keyword:0.5) - 大幅减弱
采样步数:
CFG (Classifier Free Guidance):
分辨率:
批次大小:
降低显存占用:
提高生成速度:
提高生成质量:
A: 在 ComfyUI 的 custom_nodes 目录下运行:
git clone <节点仓库地址>
然后重启 ComfyUI。或者使用 ComfyUI Manager 自动安装。
A: 不同类型的模型需要放在不同目录:
models/checkpoints/models/vae/models/loras/models/controlnet/models/ipadapter/models/instantid/models/inpaint/brushnet_sd1.5/A: 可以尝试以下方法:
A: 检查以下几点:
A: 建议尝试:
A:
A:
A:
本项目遵循原 ComfyUI 和相关模型的许可证协议。请确保在使用时遵守相关条款。
主要许可证:
欢迎提交问题报告和改进建议!
本仓库中的工作流和模型仅供学习和研究使用。使用时请遵守相关法律法规和模型许可证。作者不对使用本仓库内容产生的任何后果负责。
如有问题或建议,请通过以下方式联系:
感谢所有为 ComfyUI 和相关模型做出贡献的开发者和社区成员!
最后更新: 2026-01-03
版本: 1.0.0