Configs2026年3月31日·1 分钟阅读

ComfyUI — Node-Based AI Image Generation

The most powerful modular AI image generation GUI with a node/graph editor. Supports Stable Diffusion, Flux, SDXL, ControlNet, and 1000+ custom nodes. 107K+ stars.

TO
TokRepo精选 · Community
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
pip install -r requirements.txt
python main.py

Open http://127.0.0.1:8188 in your browser.


介绍

ComfyUI is the most powerful and modular AI image generation tool, built as a node-based graph editor. Design complex image generation workflows by connecting nodes — models, prompts, samplers, ControlNet, LoRA, upscalers, and more. Supports Stable Diffusion 1.5/2.1/XL/3, Flux, and hundreds of custom nodes from the community. 107,000+ GitHub stars, the most popular Stable Diffusion UI.

Best for: AI artists, designers, and developers building image generation pipelines Works with: Stable Diffusion, SDXL, Flux, ControlNet, LoRA, IP-Adapter


Key Features

Node-Based Workflow

Visual graph editor — drag, connect, and configure nodes to build any image pipeline. Save and share workflows as JSON files.

Model Support

  • Stable Diffusion 1.5, 2.1, XL, 3.0
  • Flux (Dev, Schnell)
  • ControlNet, IP-Adapter, T2I-Adapter
  • LoRA, LyCORIS, Hypernetworks
  • Upscale models (ESRGAN, SwinIR)

1000+ Custom Nodes

Community-built extensions: AnimateDiff (video), FaceRestore, Segment Anything, InstantID, and many more via ComfyUI Manager.

API & Automation

Full REST API for headless generation. Queue prompts, get results programmatically:

import requests
requests.post("http://127.0.0.1:8188/prompt", json={"prompt": workflow})

Performance

  • GPU-optimized with automatic memory management
  • Queue system for batch generation
  • Supports NVIDIA, AMD, Apple Silicon

FAQ

Q: What is ComfyUI? A: A node-based AI image generation GUI and backend with 107K+ GitHub stars. Build complex Stable Diffusion workflows visually by connecting nodes. The most popular open-source image generation tool.

Q: Is ComfyUI free? A: Yes, fully open-source under GPL-3.0. Requires a GPU (NVIDIA recommended) and locally-downloaded model weights.


🙏

来源与感谢

Created by Comfy-Org. Licensed under GPL-3.0. Comfy-Org/ComfyUI — 107,000+ GitHub stars

相关资产