Your First Workflow

Beginner 3 min read 4 sections
GitHub
On this page

ComfyUI supports two main loading styles depending on the model family you choose: classic all-in-one checkpoints (SDXL, Illustrious, Pony, SD 1.5) and modern split-weight models (Flux.2 / Flux.2 Klein, Qwen-Image 2.1, Z-Image, Krea 2, Anima, SD 3.5, Wan 2.2, LTX-Video 2).

#Classic checkpoint workflow (SDXL / Illustrious / SD 1.5)

An all-in-one checkpoint bundles the diffusion MODEL, CLIP text encoder, and VAE inside a single .safetensors file.

  1. Press Workflow > Browse Templates (or build from an empty canvas with double-click search) and verify these 7 nodes:
    • Load Checkpoint
    • Two CLIP Text Encode (Prompt) nodes (one positive, one negative)
    • Empty Latent Image
    • KSampler
    • VAE Decode
    • Save Image (or Preview Image while testing)
  2. Wire them left to right:
    • Load Checkpoint MODEL -> KSampler model
    • Load Checkpoint CLIP -> both CLIP Text Encode (Prompt) clip sockets
    • Positive CLIP Text Encode (Prompt) CONDITIONING -> KSampler positive
    • Negative CLIP Text Encode (Prompt) CONDITIONING -> KSampler negative
    • Empty Latent Image LATENT -> KSampler latent_image
    • KSampler LATENT -> VAE Decode samples
    • Load Checkpoint VAE -> VAE Decode vae
    • VAE Decode IMAGE -> Save Image images
  3. Set Empty Latent Image to 1024 x 1024 for SDXL/Illustrious (512 x 512 for SD 1.5).
  4. Press Ctrl + Enter (or click Run) to queue generation.

#Modern split-weight workflow

Load Diffusion ModelFlux.2, Qwen, Z-Image, Anima
Load CLIP / Load CLIP (Dual)Qwen3, Gemma, UMT5, T5, or CLIP
Load VAESeparate VAE file
KSampler / SamplerCustomCFG 1 for distilled, 4-5 for base
VAE Decode + Save ImageExports file with embedded graph
Modern architectures separate diffusion weights, text encoders, and VAE into dedicated loaders.

Newer architectures keep the diffusion model, text encoders, and VAE in separate files because modern encoders (such as Qwen3, Qwen3-VL, Gemma, UMT5, or T5-XXL) are shared across checkpoints and often ship as native quantized .safetensors (FP8, convrot int8, w6a8, NVFP4).

Instead of a single Load Checkpoint node, wire dedicated loaders:

  1. Diffusion model: Load Diffusion Model (UNETLoader) loading your weights from ComfyUI/models/diffusion_models/.
  2. Text encoder(s): Load CLIP (CLIPLoader) or Load CLIP (Dual) (DualCLIPLoader) loading from ComfyUI/models/text_encoders/. Set type to match the architecture (for example flux2, flux3, qwen_image, sd3, krea2, wan, ltxv, cosmos, lumina2, or ace on Load CLIP; flux on Load CLIP (Dual) for Flux.1).
  3. VAE: Load VAE loading from ComfyUI/models/vae/.
  4. Latent node: match the channel count to the model:
    • Empty SD3 Latent Image (16-channel): Flux.1, SD 3.5, Z-Image, Anima, Wan.
    • Empty Flux 2 Latent (32-channel): Flux.2 and Flux.2 Klein.
    • Built-in encoder outputs: models such as Text Encode Qwen Image 2.1 output their matching 64-channel latent directly.
  5. Guidance:
    • Distilled / Turbo / Qwen-Image 2.1: Flux.2 Klein Distilled, Qwen-Image 2.1 (Base and Turbo), Flux.1 Schnell, and Z-Image Turbo run at cfg = 1.0 (4-8 steps for distilled/Turbo models, ~25 steps for Qwen-Image 2.1 Base).
    • Embedded guidance (Flux.1 Dev): keep sampler cfg = 1.0 and set guidance: 3.5 in FluxGuidance.
    • CFG split models (Flux.2 Klein Base, Anima, SD 3.5): use sampler cfg around 4.0 - 5.5 with a negative prompt.

#KSampler settings explained

Parameter What it does Typical starting range
seed Initial random noise pattern Fixed number to iterate; randomize for new variations
steps Number of denoising iterations 20-30 standard; 4-8 for Distilled / Turbo / Lightning models
cfg Classifier-Free Guidance (prompt strictness) 1.0 (Flux.1 Dev w/ FluxGuidance, Flux.2 Klein Distilled, Qwen-Image 2.1); 4.0-5.5 (Klein Base, Anima, SD 3.5); 5.0-7.5 (SDXL / Illustrious)
sampler_name Numerical solver used per step euler, dpmpp_2m, res_multistep, uni_pc
scheduler Noise schedule curve across steps simple, sgm_uniform, karras, beta, normal
denoise How much original image is replaced 1.00 for txt2img; 0.25-0.75 for img2img / Hi-Res Fix

#Saving and sharing workflows

  • Automatic output embedding: ComfyUI saver nodes embed the workflow JSON inside generated images, videos, audio, and 3D files. Drop any output onto a ComfyUI canvas later to restore the exact graph.
  • Standalone templates: use Workflow > Save to store workflows in ComfyUI/user/default/workflows/ so they show up in your left sidebar.
  • Clean output filenames: change filename_prefix on Save Image to %date:yyyy-MM-dd%/portrait to sort outputs into dated subfolders automatically.

Next: organize your model files and add LoRAs in Models, Checkpoints & LoRAs.