Getting Started with ComfyUI: A Beginner’s Guide to Nodes#
ComfyUI is a powerful, node-based graphical user interface (GUI) for Stable Diffusion that gives you total control over your AI image generation workflow. Unlike standard web interfaces, ComfyUI lets you see exactly how data flows from your text prompt to the final image.
Here is how to set up ComfyUI and generate your very first image from text.
Step 1: Install ComfyUI Desktop#
The ComfyUI Desktop app bundles everything you need, including Python, into a single installer.
- Download the installer: Go to the official ComfyUI GitHub repository or the official ComfyUI website and download the Desktop installer for your operating system (Windows or macOS).
- Run the installer: Open the downloaded file and follow the on-screen prompts.
- Launch the app: Once installed, open ComfyUI Desktop. It will automatically initialize the environment and open the interface.
Getting ComfyUI up and running is straightforward, especially if you are on Windows.
Step 2: Understand the Default Workflow#
When ComfyUI opens in your browser, you will see a default layout of interconnected blocks called Nodes.
[Load Checkpoint] —> [CLIP Text Encode (Prompt)] —> [Ksampler] —> [VAE Decode] —> [Save Image]
- Load Checkpoint: Chooses your AI model.
- CLIP Text Encode: Where you type your positive and negative prompts.
- KSampler: The engine that turns random noise into an image based on your prompt.
- VAE Decode: Translates the hidden mathematical image data into actual pixels you can see.
- Save Image: Displays and saves your final file.
Step 3: Generate Your First Image#
- Select Your Model: In the Load Checkpoint node, click the dropdown menu and select the model you placed in your checkpoints folder.
- Enter Your Prompt:
- Locate the top CLIP Text Encode node (connected to the positive slot on the KSampler) and type: A futuristic cyberpunk city at night, neon lights, highly detailed, 8k resolution.
- Locate the bottom CLIP Text Encode node (connected to the negative slot) and type: blurry, low quality, distorted.
- Queue the Prompt: Look at the control panel on the right side of the screen and click Queue Prompt (or press Ctrl + Enter).
You will see a green border highlight each node as ComfyUI processes the data. Within a few seconds, your generated masterpiece will appear inside the Save Image node!
Note, if you get an error indicating a missing model, click errors, and ‘Download All’ - Comfy Desktop will automatically download the models into the correct directories.
Why Use ComfyUI?#
While the node interface looks intimidating at first, it is highly optimized. ComfyUI uses significantly less VRAM than other interfaces and allows you to save your entire workflow layout directly inside the images you generate. To recreate any image in the future, simply drag and drop the saved PNG file right back into the ComfyUI browser tab!

