经 AI Skill Hub 精选评估,ComfyUI 节点式AI图像生成 获评「强烈推荐」。在 GitHub 上收获超过 112.7k 颗 Star,这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 9.2 分,适合有一定技术背景的用户使用。
强大的开源扩散模型可视化工具,提供图形界面、API和后端服务。采用节点图式设计,支持模块化工作流构建,适合AI绘图、图像生成研究者和创意工作者快速原型开发和工程化应用。
ComfyUI 节点式AI图像生成 是一款基于 Python 开发的开源工具,专注于 扩散模型、图像生成、可视化界面 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
强大的开源扩散模型可视化工具,提供图形界面、API和后端服务。采用节点图式设计,支持模块化工作流构建,适合AI绘图、图像生成研究者和创意工作者快速原型开发和工程化应用。
ComfyUI 节点式AI图像生成 是一款基于 Python 开发的开源工具,专注于 扩散模型、图像生成、可视化界面 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install comfyui
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install comfyui
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/Comfy-Org/ComfyUI
cd ComfyUI
pip install -e .
# 验证安装
python -c "import comfyui; print('安装成功')"
# 命令行使用
comfyui --help
# 基本用法
comfyui input_file -o output_file
# Python 代码中调用
import comfyui
# 示例
result = comfyui.process("input")
print(result)
# comfyui 配置文件示例(config.yml) app: name: "comfyui" debug: false log_level: "INFO" # 运行时指定配置文件 comfyui --config config.yml # 或通过环境变量配置 export COMFYUI_API_KEY="your-key" export COMFYUI_OUTPUT_DIR="./output"
(slow)--disable-api-nodesWorkflow examples can be found on the Examples page
For any bugs, issues, or feature requests related to the frontend, please use the ComfyUI Frontend repository. This will help us manage and address frontend-specific concerns more efficiently.
Install the dependencies by opening your terminal inside the ComfyUI folder and:
install -r requirements.txt
After this you should have everything installed and can proceed to running ComfyUI.
You can install and start ComfyUI using comfy-cli:
pip install comfy-cli
comfy install
Python 3.14 works but some custom nodes may have issues. The free threaded variant works but some dependencies will enable the GIL so it's not fully supported.
Python 3.13 is very well supported. If you have trouble with some custom node dependencies on 3.13 you can try 3.12
torch 2.4 and above is supported but some features and optimizations might only work on newer versions. We generally recommend using the latest major version of pytorch with the latest cuda version unless it is less than 2 weeks old.
1. Install the manager dependencies:
pip install -r manager_requirements.txt
2. Enable the manager with the --enable-manager flag when running ComfyUI:
python main.py --enable-manager
See what ComfyUI can do with the newer template workflows or old example workflows.
Generate a self-signed certificate (not appropriate for shared/production use) and key by running the command: openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650 -nodes -subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=CommonNameOrHostname"
Use --tls-keyfile key.pem --tls-certfile cert.pem to enable TLS/SSL, the app will now be accessible with https://... instead of http://....
Note: Windows users can use alexisrolland/docker-openssl or one of the 3rd party binary distributions to run the command example above. <br/><br/>If you use a container, note that the volume mount-vcan be a relative path so... -v ".\:/openssl-certs" ...would create the key & cert files in the current directory of your command prompt or powershell terminal.
| Flag | Description |
|---|---|
--enable-manager | Enable ComfyUI-Manager |
--enable-manager-legacy-ui | Use the legacy manager UI instead of the new UI (requires --enable-manager) |
--disable-manager-ui | Disable the manager UI and endpoints while keeping background features like security checks and scheduled installation completion (requires --enable-manager) |
业界最强开源扩散模型GUI工具,节点化设计灵活高效,活跃维护,生态完善,是专业和创意人士必备。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
⚠️ GPL 3.0 — 强 Copyleft,衍生作品须开源,含专利保护条款,不可闭源使用。
AI Skill Hub 点评:ComfyUI 节点式AI图像生成 的核心功能完整,质量优秀。对于AI 技术爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | ComfyUI |
| 原始描述 | 开源AI工具:The most powerful and modular diffusion model GUI, api and backend with a graph/。⭐112.7k · Python |
| Topics | 扩散模型图像生成可视化界面节点编程PyTorch |
| GitHub | https://github.com/Comfy-Org/ComfyUI |
| License | GPL-3.0 |
| 语言 | Python |
收录时间:2026-05-13 · 更新时间:2026-05-26 · License:GPL-3.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。