-
Notifications
You must be signed in to change notification settings - Fork 40
ComfyUI Guide
rookiemann edited this page Mar 15, 2026
·
1 revision
ComfyUI is a powerful image generation system based on Stable Diffusion. It can create images, edit photos, generate video frames, and more using a visual workflow editor.
Management API port: 5000 ComfyUI instance ports: 8188+
- Go to Tools > Extensions
- Click Install next to "ComfyUI Image Generator"
- Wait for the installation to complete (downloads ~3-5 GB for base install)
- Click Start to launch the management server
Or install manually:
cd extensions/comfyui
install.bat
launcher.bat
ComfyUI has two layers:
- Management Server (port 5000) — manages instances, models, and custom nodes
- ComfyUI Instances (port 8188+) — the actual image generation servers
Each GPU can run its own instance. If you have two GPUs, you can have two instances generating images simultaneously.
| Category | Examples | What It Does |
|---|---|---|
| Checkpoints | SD 1.5, SDXL, Flux | Base image generation models |
| LoRAs | Style LoRAs, Character LoRAs | Fine-tuned additions for specific styles |
| VAEs | SDXL VAE, SD VAE | Encoder/decoder for better image quality |
| ControlNet | Canny, Depth, Pose | Guide generation with reference images |
| Upscalers | RealESRGAN, SwinIR | Increase image resolution |
The model registry has 100+ pre-defined models you can download with one click.
Simple prompt: Say: "Generate an image of a sunset over mountains with dramatic clouds"
With settings: Say: "Generate a 1024x768 image of a cyberpunk city at night, 30 steps, high detail"
Through the web UI:
- Open your browser to
http://localhost:8188 - You'll see the visual workflow editor
- Build or load a workflow
- Click "Queue Prompt" to generate
| Tool | How to Use It |
|---|---|
comfyui_status |
"Is ComfyUI running?" |
comfyui_instances |
"List ComfyUI instances" |
comfyui_instance_start |
"Start a ComfyUI instance on GPU 0" |
comfyui_instance_stop |
"Stop the ComfyUI instance" |
comfyui_generate |
"Generate an image: [description]" |
comfyui_models |
"List available ComfyUI models" |
comfyui_nodes |
"List installed ComfyUI nodes" |
"ComfyUI unreachable":
- Start the management server with
launcher.batinextensions/comfyui/ - Check that ports 5000 and 8188 aren't in use
"No checkpoints installed":
- You need to download at least one checkpoint model
- Say "List ComfyUI models" to see what's available in the registry
- Download via the management API or web UI
Images look bad or distorted:
- Try different prompts — be more specific
- Increase step count (20-30 is usually good)
- Try a different checkpoint model
- Adjust CFG scale (7-9 is typical)