ComfyUI
ComfyUI是采用节点式可视化界面的多模态AI生成引擎,支持图像、视频、音频、3D等内容生产,可本地部署也可使用官方云端服务。
这个项目值得继续研究吗?
ComfyUI是采用节点式可视化界面的多模态AI生成引擎,支持图像、视频、音频、3D等内容生产,可本地部署也可使用官方云端服务。
- 解决什么问题
- 解决AI内容生产场景中,多模态生成工具分散、参数调节灵活性不足、自定义工作流复用难度高、难以接入企业现有生产管线的痛点。
- 适合什么团队
- 适合对AI生成内容参数、效果有精细化控制需求的创意设计团队,以及需要将AI生成能力集成到业务流程的技术团队。
- 使用前注意
- 采用GPL-3.0许可证,二次分发修改后的版本需开源对应代码;非稳定版可能存在自定义节点兼容问题,本地部署需配套对应GPU硬件。
本页用于缩短初步筛选时间,不构成技术、采购或法律结论。 正式使用前请在真实业务数据上验证,并以官方说明与许可证为准。
从官方资料看清能力、部署与采用边界
以下内容依据项目公开 README 或模型卡翻译整理,代码、命令和产品名保持原样。
项目定位
ComfyUI是面向对生成过程的模型、参数、输出效果有精细化控制需求的视觉专业人员的AI创作引擎,采用模块化节点图交互界面,无需代码即可搭建多模态内容生成工作流,可支撑图像、视频、3D模型、音频、文本等多类型内容的生成需求。 ComfyUI Screenshot
核心能力
- 多模态模型覆盖:原生适配当前主流开源AI生成模型,同时可通过官方合作节点接入闭源模型,例如Nano Banana、Seedance、Hunyuan3D等,覆盖图像生成、图像编辑、视频生成、音频生成、3D内容生成、文本生成全场景,官方提供大量可直接运行的工作流模板。
- 无代码工作流配置:通过可视化节点拖拽即可配置生成逻辑,支持复用子图、工作流模板,内置App Mode可将复杂工作流封装为简单操作界面,供非专业配置人员使用。
- 丰富的内置工具:自带补绘、扩图、蒙版合成、模型合并、超分辨率、插帧、分割、深度估计等媒体处理工具,支持加载完整模型checkpoint,也支持单独加载扩散模型、VAE、文本编码器、LoRA(低秩适配,一种轻量化微调AI生成模型的技术)、ControlNet(一种控制AI生成内容结构、风格的技术)、适配器、超分模型等组件。
- 高效运行与离线支持:自带异步队列、部分图重执行、智能显存内存管理、模型卸载、量化模型支持,可提升本地运行效率;核心功能默认完全离线运行,也可通过启动参数禁用所有付费API节点,确保全部功能运行在本地环境。
- 生态扩展与可溯源:支持自定义节点扩展功能,可通过配置文件自定义模型存储路径,支持高比特深度图像、HDR音视频的存储与读取;支持将工作流保存为JSON格式,也可从符合规范的生成媒体文件中恢复完整工作流与生成种子参数。
典型使用方式
- 桌面端使用:普通用户可直接下载Windows、macOS桌面端安装包,无需额外配置即可启动使用。
- 本地手动部署:有自定义配置需求的用户可选择手动安装,适配全操作系统与所有主流GPU类型。
- 云端使用:无本地部署硬件条件的用户可选用官方付费云服务Comfy Cloud。
- 生产管线集成:企业用户可通过官方提供的API接口,将已配置好的生成工作流集成到自有业务生产流程中。
- 工作流复用:可直接使用官方提供的模板工作流,也可将自行配置的工作流保存后分享、复用。
部署与运行要求
- 硬件适配:支持NVIDIA、AMD、Intel、Apple Silicon、昇腾全类型GPU。
- 系统适配:桌面端支持Windows、macOS,手动部署版本支持Windows、Linux、macOS全操作系统。
- 网络要求:默认核心功能无需联网,若需使用付费API节点、云服务或下载模型时才需联网,也可通过启动参数禁用所有API节点实现完全离线运行。
版本迭代状态
ComfyUI采用每周迭代的发版节奏,核心分为三个关联仓库:
- ComfyUI Core:约每2周发布一个稳定大版本,v0.4.0之后的补丁版本用于修复当前稳定版的问题,非稳定标签的提交可能存在不稳定问题,可能导致自定义节点失效。
- Comfy Desktop:基于最新稳定版核心构建桌面端安装包。
- ComfyUI Frontend:每2周以上将前端更新合并到核心仓库,正式发版前会冻结新功能开发。
许可证与采用建议
ComfyUI采用GPL-3.0开源许可证:若仅在企业内部使用无需开源修改内容,若对外分发基于ComfyUI修改后的产品或服务,需开源对应修改的代码内容。 建议有精细内容生成需求的创意团队优先选用稳定版桌面端使用;有集成需求的技术团队选用带稳定标签的核心版本,避免使用非稳定提交版本,防止出现自定义节点兼容问题。
官方资料与来源
- ai
- comfy
- comfyui
- python
- pytorch
- stable-diffusion
#### [Manual Install](#manual-install-windows-linux) Supports all operating systems and GPU types (NVIDIA, AMD, Intel, Apple Silicon, Ascend).
该片段来自项目 README,仅用于初步判断;实际部署请以官方文档为准。
核对上游原始说明节选
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
ComfyUI
The most powerful and modular AI engine for content creation.
[![Website][website-shield]][website-url] [![Dynamic JSON Badge][discord-shield]][discord-url] [![Twitter][twitter-shield]][twitter-url] [![Matrix][matrix-shield]][matrix-url] [![][github-release-shield]][github-release-link] [![][github-release-date-shield]][github-release-link] [![][github-downloads-shield]][github-downloads-link] [![][github-downloads-latest-shield]][github-downloads-link]
[matrix-shield]: https://img.shields.io/badge/Matrix-000000?style=flat&logo=matrix&logoColor=white [matrix-url]: https://app.element.io/#/room/%23comfyuispace%3Amatrix.org [website-shield]: https://img.shields.io/badge/ComfyOrg-4285F4?style=flat [website-url]: https://www.comfy.org/ [discord-shield]: https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fdiscord.com%2Fapi%2Finvites%2Fcomfyorg%3Fwithcounts%3Dtrue&query=%24.approximatemembercount&logo=discord&logoColor=white&label=Discord&color=green&suffix=%20total [discord-url]: https://discord.com/invite/comfyorg [twitter-shield]: https://img.shields.io/twitter/follow/ComfyUI [twitter-url]: https://x.com/ComfyUI
[github-release-shield]: https://img.shields.io/github/v/release/comfyanonymous/ComfyUI?style=flat&sort=semver [github-release-link]: https://github.com/comfyanonymous/ComfyUI/releases [github-release-date-shield]: https://img.shields.io/github/release-date/comfyanonymous/ComfyUI?style=flat [github-downloads-shield]: https://img.shields.io/github/downloads/comfyanonymous/ComfyUI/total?style=flat [github-downloads-latest-shield]: https://img.shields.io/github/downloads/comfyanonymous/ComfyUI/latest/total?style=flat&label=downloads%40latest [github-downloads-link]: https://github.com/comfyanonymous/ComfyUI/releases
ComfyUI is the AI creation engine for visual professionals who demand control over every model, every parameter, and every output. Its powerful and modular node graph interface empowers creatives to generate images, videos, 3D models, audio, and more...
- ComfyUI natively supports the latest open-source state of the art models.
- Partner nodes provide access to the best closed source models such as Nano Banana, Seedance, Hunyuan3D, etc.
- It is available on Windows, Linux, and macOS, locally with our desktop application, our portable install or on our cloud.
- The most sophisticated workflows can be exposed through a simple UI thanks to App Mode.
- It integrates seamlessly into production pipelines with our API endpoints.
Get Started
Local
Desktop Application
- The easiest way to get started.
- Available on Windows & macOS.
Manual Install
Supports all operating systems and GPU types (NVIDIA, AMD, Intel, Apple Silicon, Ascend).
Cloud
Comfy Cloud
- Our official paid cloud version for those who can't afford local hardware.
Examples
See what ComfyUI can do with the newer template workflows or old example workflows.
Features
- A visual node graph for building and reusing image, video, audio, 3D, and text workflows without code.
- Reusable subgraphs, workflow templates, App Mode, and a local API for integrating workflows into applications.
- Efficient local execution with asynchronous queueing, partial graph re-execution, smart VRAM and RAM management, model offloading, and support for quantized models.
- Broad native model support. This is a representative list; browse the workflow library for maintained, ready-to-run templates.
- Image generation: Stable Diffusion 1.5, SDXL, SD3.5, Flux.1, Flux.2, Qwen Image, Z-Image, Hunyuan Image 2.1, HiDream, Lumina Image 2.0, Chroma, Anima, LongCat Image, Ideogram 4, Krea 2, MageFlow, Microsoft Lens, PixelDiT, Kandinsky 5, and Ernie Image.
- Image editing: Flux Kontext, Flux.2 Klein, Qwen Image Edit, HiDream E1.1 and O1, OmniGen2, Boogu, JoyImage Edit, MageFlow Edit, and LongCat Image Edit.
- Video generation: Wan 2.1 and 2.2, LTX-Video 2 and 2.3, HunyuanVideo 1.5, Kandinsky 5 Video, CogVideoX, Cosmos Predict2, Bernini-R, SCAIL 2, and Mochi.
- Audio and video generation: MiniMax H3 and LTX-AV.
- Audio generation: ACE-Step 1.5, Stable Audio 3 and MiniMax Music 3
- 3D and vision: Hunyuan3D 2.1, TripoSplat, SeedVR2, SUPIR, Depth Anything 3, MoGe, SAM 3 and 3.1, RT-DETRv4, and BiRefNet.
- Text generation: Gemma 3 and 4, Qwen3, Qwen3.5, and Qwen3-VL, including multimodal inputs.
- Load complete checkpoints or separate diffusion models, VAEs, text encoders, LoRAs, ControlNets, adapters, and upscalers from supported model formats.
- Built-in tools for inpainting, outpainting, reference conditioning, masks and compositing, model merging, upscaling, frame interpolation, segmentation, depth estimation, and media processing.
- Save and load workflows as JSON, or recover complete workflows and seeds from supported generated media.
- Runs fully offline: core does not download anything unless you request it. Use --disable-api-nodes to disable the optional paid Comfy API nodes and force all built-in functionality to stay offline.
- Extend ComfyUI with custom nodes
Release Process
ComfyUI follows a weekly release cycle targeting Monday but this regularly changes because of model releases or large changes to the codebase. There are three interconnected repositories:
- ComfyUI Core
- Releases a new major stable version (e.g., v0.7.0) roughly every 2 weeks.
- Starting from v0.4.0 patch versions will be used for fixes backported onto the current stable release.
- Minor versions will be used for releases off the master branch.
- Patch versions may still be used for releases on the master branch in cases where a backport would not make sense.
- Commits outside of the stable release tags may be very unstable and break many custom nodes.
- Serves as the foundation for the desktop release
- Comfy Desktop
- Builds a new release using the latest stable core version
- ComfyUI Frontend
- Every 2+ weeks frontend updates are merged into the core repository
- Features are frozen for the upcoming core release
- Development continues for the next release cycle
Shortcuts
| Keybind | Explanation | |------------------------------------|--------------------------------------------------------------------------------------------------------------------| | Ctrl + Enter | Queue up current graph for generation | | Ctrl + Shift + Enter | Queue up current graph as first for generation | | Ctrl + Alt + Enter | Cancel current generation | | Ctrl + Z/Ctrl + Y | Undo/Redo | | Ctrl + S | Save workflow | | Ctrl + O | Load workflow | | Ctrl + A | Select all nodes | | Alt + C | Collapse/uncollapse selected nodes | | Ctrl + M | Mute/unmute selected nodes | | Ctrl + B | Bypass selected nodes (acts like the node was removed from the graph and the wires reconnected through) | | Delete/Backspace | Delete selected nodes | | Ctrl + Backspace | Delete the current graph | | Space | Move the canvas around when held and moving the cursor | | Ctrl/Shift + Click | Add clicked node to selection | | Ctrl + C/Ctrl + V | Copy and paste selected nodes (without maintaining connections to outputs of unselected nodes) | | Ctrl + C/Ctrl + Shift + V | Copy and paste selected nodes (maintaining connections from outputs of unselected nodes to inputs of pasted nodes) | | Shift + Drag | Move multiple selected nodes at the same time | | Ctrl + D | Load default graph | | Alt + + | Canvas Zoom in | | Alt + - | Canvas Zoom out | | Ctrl + Shift + LMB + Vertical drag | Canvas Zoom in/out | | P | Pin/Unpin selected nodes
上游文档较长,此处为节选。完整内容见官方项目。