Dev tools

ComfyUI for Beginners: Your First Image Workflow

ComfyUI is a free node-based app for running AI image and video models on your own GPU. How to install it, build a first workflow and avoid mistakes.

By OmniAI Editorial · Nov 20, 2026 · 10 min read

ComfyUI is a free, open-source app for generating images, video and audio with AI models such as Stable Diffusion, Flux and Wan on your own computer. Instead of a single form with a prompt box, you build a workflow from connected blocks called nodes: one loads the model, one encodes your prompt, one generates the image, one saves it. That looks complicated at first, but it gives you full control, runs efficiently, and supports new models faster than most alternatives. This guide gets ComfyUI for beginners up and running with a first image in under an hour.

You'll learn what ComfyUI is, how to install it (and ComfyUI portable vs desktop), where models go, your first text-to-image workflow node by node, how to use templates and ComfyUI Manager, ComfyUI vs Automatic1111, and the common beginner mistakes.

What Is ComfyUI?

ComfyUI is a node-based interface for diffusion models and other generative AI. Each node does one job, and wires carry data between them: the model, the encoded prompt, the "latent" image being generated, and the final pixels. Because the whole process is visible, you can:

  • See and change every step of generation.
  • Build complex pipelines: upscaling, inpainting, ControlNet, LoRAs, image-to-video.
  • Save and share workflows as files, or even inside the images you generate.
  • Run new models quickly, since support often arrives in ComfyUI first.

It runs locally on your GPU, so images stay on your machine and there are no per-image fees. If you'd rather use a ready-made online tool, our guide to the best AI image generators compares them. If you're new to how these models work, our guide to diffusion models explains the process ComfyUI exposes.

What You Need

  • A GPU: an Nvidia card with at least 8 GB of VRAM for older models; 12–16 GB is more comfortable for SDXL and Flux. AMD, Intel and Apple Silicon also work with more setup or less speed. Our guide to the best GPU for Stable Diffusion covers what to buy.
  • System RAM: 16 GB minimum, 32 GB recommended.
  • Disk space: models are large, often 2–25 GB each, so plan for tens of gigabytes.
  • No GPU? Cloud services, including the official Comfy Cloud, run ComfyUI on remote GPUs.

How to Install ComfyUI

There are three main ways to install it:

  1. ComfyUI Desktop: an installer for Windows, macOS (Apple Silicon) and Linux that sets up Python and dependencies for you and keeps ComfyUI and ComfyUI Manager updated. The easiest start for most beginners.
  2. Portable (Windows): a zip file with everything included. Extract it (the docs recommend 7-Zip) and run the included batch file for your GPU type. Easy to move or delete, and popular with long-time users.
  3. Manual install: clone the GitHub repository, install the Python requirements and run python main.py. Most flexible, best for Linux and developers. By default it serves the interface at http://127.0.0.1:8188.

ComfyUI Portable vs Desktop

DesktopPortable (Windows)Manual
InstallGuided installerUnzip and runGit, Python and commands
UpdatesBuilt inUpdate scripts or manualGit pull and dependency updates
PlatformsWindows, macOS (Apple Silicon), LinuxWindowsAny
Best forBeginnersUsers who want a self-contained folderDevelopers, Linux, servers

Pick Desktop if you're unsure; you can switch later.

Where Models Go

ComfyUI doesn't include an image model; you download one. Models go in folders inside ComfyUI/models/:

FolderWhat goes there
checkpointsAll-in-one model files such as SD 1.5 and SDXL checkpoints
diffusion_modelsStandalone diffusion models for newer architectures such as Flux
text_encodersText encoders that newer models load separately
vaeVAE files that decode latents to pixels
lorasLoRA add-ons for styles, characters or products
controlnetControlNet models for guiding composition
upscale_modelsUpscalers for enlarging images

For your first workflow, download one SDXL or SD 1.5 checkpoint (.safetensors) from a trusted source and put it in models/checkpoints. Prefer .safetensors files over older formats, which can contain executable code. Check each model's licence before commercial use.

A large light folder at the top left with ink branch lines leading to two grey folders, and next to them an orange file and a grey file, joined to one folder by an ink line.
Models go in the matching folder under ComfyUI/models, such as checkpoints, loras and vae.

Your First ComfyUI Workflow, Node by Node

When ComfyUI opens, you usually see the default text-to-image workflow. If not, open the Workflows panel and browse the templates. The official tutorial's basic graph has seven nodes:

  1. Load Checkpoint: choose your model file. It outputs three things: MODEL (the diffusion model), CLIP (the text encoder) and VAE (the image decoder).
  2. CLIP Text Encode (positive): your prompt, such as "a cosy reading nook by a rainy window, warm light, photograph".
  3. CLIP Text Encode (negative): what to avoid, such as "blurry, low quality, text".
  4. Empty Latent Image: sets the size (for SDXL, around 1024×1024) and batch size.
  5. KSampler: the engine that generates the image. Key settings:
  • seed: the random starting point; the same seed and settings give the same image.
  • steps: how many denoising steps (20–30 is common).
  • cfg: how strongly to follow the prompt (around 5–8 for many SDXL models).
  • sampler and scheduler: the generation method; defaults are fine to start.
  • denoise: 1.0 for text-to-image; lower values for image-to-image.
  1. VAE Decode: turns the finished latent into a normal image.
  2. Save Image: writes it to the output folder.

Click Run (or press Ctrl+Enter) to queue the workflow. Watch the nodes highlight as they run, and your image appears in the Save Image node.

A row of node boxes joined by curved ink wires: two on the left, one light and one grey, feeding a grey box, then an orange box, then two more grey boxes in a line.
The default workflow: load the model, encode prompts, create a blank latent, sample, decode and save.

Try these next

  • Change the seed to get variations; fix it to refine one image.
  • Edit the prompt and compare results with the same seed.
  • Increase the batch size to get several images at once.
  • Drag a generated PNG back into ComfyUI: it loads the workflow that made it, because ComfyUI stores the workflow inside the image's metadata.

Interface Basics and Shortcuts

A few basics make ComfyUI much easier:

  • Double-click the canvas to search for any node by name and add it.
  • Drag from an output dot to an input dot to connect nodes; wires only connect matching data types, which prevents many mistakes.
  • Right-click a node for options such as bypassing it, changing colours or converting a setting into an input.
  • Ctrl+Enter queues the workflow; the queue panel shows running and finished jobs.
  • Drag an image or workflow file onto the canvas to load it.
  • Group related nodes and add notes so complex workflows stay readable.

Image-to-Image and Inpainting

Once text-to-image works, two common next steps:

  • Image-to-image: replace the Empty Latent Image node with Load Image followed by VAE Encode, and lower the KSampler's denoise to around 0.4–0.7. Lower values keep more of the original image; higher values change more.
  • Inpainting: load an image, paint a mask over the part you want to change, and use an inpainting workflow or template so only the masked area is regenerated.

Both have ready-made templates, which are the easiest way to get the node setup right.

ComfyUI on a Mac or AMD GPU

ComfyUI also runs outside Nvidia hardware:

  • Apple Silicon Macs: the desktop app supports Apple Silicon and uses the Mac's GPU through PyTorch's Metal support. It works well for SD 1.5 and SDXL, but it's slower than a mid-range Nvidia GPU, especially for large models and video.
  • AMD GPUs: supported through ROCm, best on Linux, with more setup than Nvidia.
  • Intel GPUs: supported through PyTorch's Intel GPU backend.

If performance matters and you don't have a suitable GPU, a cloud GPU or Comfy Cloud is often the quickest route.

Using Templates

ComfyUI includes templates for common tasks: text-to-image for different model families, image-to-image, inpainting, upscaling, Flux, and video models. Templates are the fastest way to learn, because they show the correct nodes for each model type. A common beginner error is loading a Flux or video model into the basic SD checkpoint workflow; newer models often need their own loaders and text encoders, which the matching template sets up.

ComfyUI Manager and Custom Nodes

ComfyUI Manager is an extension that installs and updates custom nodes, finds nodes missing from a workflow someone shared, and manages models. The desktop app includes it. Custom nodes add features the core doesn't have, such as new samplers, face tools or integrations.

Be careful: custom nodes are Python code that runs on your computer with full access. In 2024, a malicious custom node was found stealing data from users who installed it. Install only popular, actively maintained nodes from known developers, and don't install everything a downloaded workflow asks for without checking.

ComfyUI vs Automatic1111

ComfyUI vs Automatic1111 is the classic comparison for Stable Diffusion users:

ComfyUIAutomatic1111 (and the Forge fork)
InterfaceNode graphTabs and forms
Learning curveSteeper at firstEasier for simple use
FlexibilityVery high: any pipeline you can wireGood, extended by add-ons
EfficiencyStrong memory managementVaries; Forge improved it
New model supportUsually firstSlower
Sharing setupsWorkflows as files or in imagesSettings and extensions

For simple text-to-image with older models, Automatic1111 or Forge is quick to learn. For newer models (Flux, video), complex pipelines and long-term use, ComfyUI has become the standard. Many people start with a form-based tool and move to ComfyUI as their needs grow. Other front ends, such as SwarmUI, put a simpler interface on top of ComfyUI's engine.

Tips for Better Results

  • Use the resolution the model was trained for: about 512×512 for SD 1.5, about 1024×1024 for SDXL and Flux. Very different sizes produce odd results.
  • Keep prompts clear and specific: subject, setting, lighting, style.
  • Change one setting at a time to learn what it does.
  • Upscale in a second pass instead of generating huge images directly.
  • Save workflows you like with clear names, and keep notes on settings.

Common Beginner Mistakes

  • Model in the wrong folder, so it doesn't appear in the loader. Check models/checkpoints vs diffusion_models.
  • Mixing model families, such as an SD 1.5 LoRA on an SDXL model.
  • Running out of VRAM with large models or batches. Lower the resolution or batch, or use FP8 or GGUF model versions.
  • Installing every custom node a workflow requests without checking where it comes from.
  • Not updating ComfyUI before trying a new model, which often needs recent support.

FAQ

What is ComfyUI?

ComfyUI is a free, open-source, node-based app for running AI image, video and audio models locally. You build workflows by connecting nodes for each step, which gives full control over generation and supports many models, including Stable Diffusion, Flux and video models.

Is ComfyUI good for beginners?

Yes, with a little patience. The node interface looks complex, but the default workflow and built-in templates let you generate images within minutes. Learning one node at a time is the easiest path.

Is ComfyUI free?

Yes. ComfyUI is open source and free to run on your own hardware. You only pay if you choose a cloud service to run it on remote GPUs.

What is the difference between ComfyUI and Automatic1111?

ComfyUI uses a node graph that shows every step and supports complex pipelines and new models quickly. Automatic1111 uses a simpler form-based interface that's easier at first but less flexible and slower to support new models.

What is ComfyUI Manager?

ComfyUI Manager is an extension for installing, updating and managing custom nodes and models, and for finding missing nodes in shared workflows. It's included with the ComfyUI desktop app.

All articles

Read next

Language

EnglishEnglish · en TürkçeTurkish · tr DeutschGerman · de العربيةArabic · ar

Account

Enter your email. We’ll send you a sign-in link and a 6-digit code. No password needed.

Sign in

Theme

Language

Show our email address

To keep spam out of our inbox, please confirm your own email first. We will send you a 6-digit code.

We send codes only to these providers: gmail.com, googlemail.com, outlook.com, hotmail.com, live.com, msn.com, proton.me, protonmail.com, pm.me, icloud.com, me.com, mac.com, yahoo.com, aol.com, gmx.de, gmx.net, web.de, t-online.de, yandex.com, omniai.blog