ComfyUI
ComfyUI是一款采用节点化可视化界面的AI内容创作工具,支持自定义生成与编辑图像、视频、音频、3D、文本等多模态内容。
这个项目值得继续研究吗?
ComfyUI是一款采用节点化可视化界面的AI内容创作工具,支持自定义生成与编辑图像、视频、音频、3D、文本等多模态内容。
- 解决什么问题
- 当前多数AI生成工具参数可控性低、自定义创作流程难以复用、无法兼容多类开源/闭源模型,也很难接入企业现有生产管线,难以满足专业创作者的精细化内容创作需求。
- 适合什么团队
- 适合有精细化AI内容创作需求的设计、营销、内容生产团队,以及需要将AI生成能力接入自有业务管线的技术团队。
- 使用前注意
- 本项目采用GPL-3.0许可证,二次分发修改版需保持同许可开源;非稳定标签的代码版本可能导致自定义节点无法正常运行。
本页用于缩短初步筛选时间,不构成技术、采购或法律结论。 正式使用前请在真实业务数据上验证,并以官方说明与许可证为准。
从官方资料看清能力、部署与采用边界
以下内容依据项目公开 README 或模型卡翻译整理,代码、命令和产品名保持原样。
ComfyUI Screenshot
项目定位
ComfyUI是面向对模型、参数、输出有全控制需求的专业内容创作者的AI创作引擎,采用模块化节点图交互方式,无需代码即可搭建自定义生成流程,支持图像、视频、音频、3D、文本等多模态内容的创作需求,可本地运行也可使用官方云服务,还可通过API接入生产管线。
核心能力
- 无代码可视化流程搭建:通过拖拽节点即可组合生成逻辑,支持复用子图、工作流模板,通过App Mode可将复杂工作流封装为简易操作界面,降低非专业用户使用门槛;提供本地API可直接将工作流集成到业务应用中。
- 多模型多模态兼容:原生支持主流开源AI生成模型,也可通过合作伙伴节点接入闭源模型,覆盖场景包括图像生成、图像编辑、视频生成、音频生成、3D内容生成、文本生成等,同时支持加载独立的扩散模型、VAE、文本编码器、LoRA(一种轻量模型微调方法,可低成本让生成模型适配特定风格或内容)、ControlNet(一种扩散模型控制组件,可指定生成内容的构图、姿态等特征)、适配器、超分模型等组件。
- 运行效率优化:支持异步队列、部分流程图重执行、智能VRAM/RAM管理、模型卸载、量化模型兼容,可降低本地运行的硬件要求。
- 内置创作工具:自带补绘、扩图、参考条件控制、蒙版合成、模型合并、超分辨率、帧插值、分割、深度估计等媒体处理工具,无需额外依赖即可完成全流程创作。
- 离线与扩展能力:核心功能默认完全离线运行,不会主动下载任何内容,添加--disable-api-nodes启动参数可禁用可选的付费在线节点,强制全功能离线;支持自定义节点扩展能力,可通过extramodelpaths.yaml配置额外的模型存储路径。
- 工作流复用:工作流可保存为JSON格式,也可从支持的生成媒体文件中恢复完整工作流与种子参数,方便流程沉淀与复现。
部署方式
ComfyUI支持本地部署与官方云服务两种使用方式:
本地部署
- 桌面应用:最易用的部署方式,支持Windows、macOS系统,直接下载安装即可使用。
- Windows便携包:包含最新提交的功能,完全免安装便携运行,仅支持Windows系统。
- 手动安装:支持全操作系统,兼容NVIDIA、AMD、Intel、苹果硅、昇腾全类型GPU,适合有定制需求的用户。
云服务
官方提供付费的Comfy Cloud服务,适合没有足够本地运行硬件的用户直接在线使用。
典型使用方式
- 模板直接使用:可从官方工作流库获取现成可运行的模板,直接调整参数即可生成内容,无需自行搭建流程。
- 自定义工作流:通过拖拽节点搭建符合自身需求的生成流程,保存后可重复使用,也可分享给团队内部成员。
- 简化界面交付:通过App Mode将复杂的节点流程封装为仅保留必要参数的简易界面,可供不了解节点逻辑的业务人员直接使用。
- 生产管线集成:调用官方提供的API端点,可将ComfyUI的生成能力直接接入企业现有内容生产管线,实现自动化生成。
- 常用快捷键:支持Ctrl+Enter提交生成任务、Ctrl+S保存工作流、Ctrl+Z撤销操作等快捷键,提升操作效率。
版本迭代规则
项目采用周度发版节奏,包含三个关联的代码仓库:
- ComfyUI Core:核心仓库,每2周左右发布一个稳定大版本,补丁版本用于修复稳定版的问题;非稳定标签的提交可能存在不稳定问题,会导致大量自定义节点失效,是桌面端发布的基础。
- Comfy Desktop:桌面端仓库,基于最新稳定版核心构建发布。
- ComfyUI Frontend:前端仓库,每2周以上将更新合并到核心仓库,核心版本发布前会冻结新功能开发。
许可证与采用建议
本项目采用GPL-3.0许可证,企业内部使用无限制,若对外分发修改后的版本,需要将修改后的代码也以GPL-3.0许可证开源。 建议有精细化内容生成需求、需要自定义生成流程、或需要将AI生成能力集成到自有业务系统的团队采用;如果有完全离线使用的需求,可添加--disable-api-nodes参数启动,确保所有功能均运行在本地。
官方资料与来源
- ai
- comfy
- comfyui
- python
- pytorch
- stable-diffusion
#### [Windows Portable Package](#installing) - Get the latest commits and completely portable. - Available on Windows.
该片段来自项目 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.
Windows Portable Package
- Get the latest commits and completely portable.
- Available on Windows.
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 | | Ctrl + G | G
上游文档较长,此处为节选。完整内容见官方项目。