ComfyUI has three nodes that all sound like “join two prompts”: Conditioning (Combine), Conditioning (Concat) and Conditioning (Average). They give very different images, and picking the wrong one is why a “red car, blue sky” prompt still bleeds colors everywhere or why your style prompt seems to vanish.
This guide explains what each conditioning node really does (from ComfyUI’s source code), when to use which, and how to use the helpers around them: Zero Out, Set Timestep Range, Multiply and Set Area/Mask. Every node here is built in, no custom nodes needed.
- Combine runs each prompt separately and averages the model’s predictions. Good for regional prompts and mixing two concepts. Costs extra compute per prompt.
- Concat joins the token embeddings into one longer prompt (like A1111’s BREAK). Good for keeping a subject and a style from bleeding into each other.
- Average blends the embeddings with a slider (
conditioning_to_strength, 1.0 = only the “to” prompt). Good for smooth prompt mixes and morphs. - Zero Out makes an all-zero conditioning: a “true empty” prompt, used as the negative in several official SD3/SD3.5 example workflows.
- Set Timestep Range limits a prompt to part of the denoising (0.0 = start, 1.0 = end), so you can switch prompts mid-generation.
New to ComfyUI? Start with my ComfyUI guide for the basics of nodes and workflows.
What “Conditioning” Means in ComfyUI
When you type a prompt into CLIP Text Encode, the text encoder turns it into a tensor of token embeddings: roughly one vector per token. ComfyUI wraps that tensor, plus extra data like a pooled embedding, areas, masks or guidance, into a CONDITIONING object.
That’s the yellow wire you plug into the KSampler’s positive and negative inputs.
Two things are useful to know:
- A CONDITIONING is actually a list. It can hold one entry or several.
- Each entry has the embedding tensor and a dictionary of options (strength, area, mask, start/end percent and so on).
The conditioning nodes either add entries to that list, change the tensor inside an entry, or change the options. That difference is the whole story of Combine vs Concat vs Average.
Combine vs Concat vs Average at a Glance
| Combine | Concat | Average | |
|---|---|---|---|
| What it changes | Adds both entries to one list | Joins token embeddings end to end | Blends two embeddings by a ratio |
| Where the mixing happens | At sampling: predictions are averaged | Inside the model’s attention | Before sampling, in the embedding |
| Settings | None | None | conditioning_to_strength 0-1 (default 1.0) |
| Speed cost | One extra prediction per entry | Almost none (slightly longer prompt) | None |
| Works with areas/masks | Yes, this is how regional prompts combine | Uses the “to” side’s options | Uses the “to” side’s options (pooled output is blended) |
| Best for | Regional prompting, mixing two separate concepts | Stopping concept/color bleed, long prompts | Smooth prompt blends, style strength, morphs |
Conditioning (Combine)
Inputs: conditioning_1, conditioning_2. No settings. In the source it is literally one line:
return (conditioning_1 + conditioning_2, )
That’s list addition. The output simply holds every entry from both inputs. Nothing is merged yet.
The merging happens in the sampler. In calc_cond_batch, ComfyUI runs the model once for each entry, multiplies each result by that entry’s strength (and its area or mask), adds them up, and divides by the total weight. So Combine gives you a weighted average of the model’s predictions, step by step.
What that means in practice:
- Two full-image prompts: you get a mix of both, often a hybrid (“a cat” + “a dog” can give a cat-dog). Both prompts pull at the whole image.
- Prompts with areas or masks: each prompt only counts inside its own region. This is how regional prompting in ComfyUI works: Set Area or Set Mask on each prompt, then Combine them.
- Speed: each extra entry is another model evaluation per step (ComfyUI batches them when it can, but it still uses more compute and VRAM).
- Strength: use Conditioning Set Area Strength on one input to give it more or less weight in the average.
Conditioning (Concat)
Inputs: conditioning_to, conditioning_from. No settings. It uses torch.cat along the token dimension:
tw = torch.cat((t1, cond_from), 1)
The tokens of the “from” prompt are appended after the tokens of the “to” prompt. The model then sees one long prompt in one pass, but each part was encoded separately.
Why that matters: when you write “a woman in a red dress, blue sky, oil painting” in one prompt, the text encoder lets every word influence every other word. That’s where color bleed comes from (the sky turns red, the dress turns blue). With Concat:
- Encode “a woman in a red dress” in one CLIP Text Encode.
- Encode “blue sky, oil painting” in another.
- Concat them (subject as
conditioning_to, the rest asconditioning_from).
The words of each part can’t contaminate the other part’s embeddings, so bleeding drops. This is the same idea as the BREAK keyword in Automatic1111. ComfyUI’s built-in text encoder doesn’t treat the word BREAK specially, so Concat is the built-in way to do it.
Notes from the source:
- Only the first entry of
conditioning_fromis used. ComfyUI logs a warning if there are more. - Options such as pooled output, area or mask come from
conditioning_to. - It’s cheap: no extra model pass, just a longer token sequence.
Conditioning (Average)
Inputs: conditioning_to, conditioning_from, and conditioning_to_strength (0.0-1.0, default 1.0). It blends the two embeddings:
tw = t1 * conditioning_to_strength + t0 * (1.0 - conditioning_to_strength)
- 1.0: only the “to” prompt.
- 0.5: an even blend.
- 0.0: only the “from” prompt.
The pooled embedding (used by SDXL and some other models) is blended the same way. If the “from” prompt is shorter, ComfyUI pads it with zeros; if it’s longer, it is cut to the length of the “to” prompt. Like Concat, only the first entry of conditioning_from is used.
Average is great for:
- Style strength: “portrait photo” as
to, “watercolor painting” asfrom, then slide from 1.0 to 0.6 for a gentle watercolor touch. - Morph animations: step the strength from 1.0 to 0.0 across frames with a fixed seed.
- Blending two characters into one face, which Combine tends to turn into a messy hybrid.
Conditioning Zero Out
Zero Out takes a conditioning and replaces its embedding with zeros (and the pooled output and a few other extras too). The result is a “true empty” prompt.
Use it as the negative when a model’s official workflow does. Several official SD3 and SD3.5 example workflows (the anime and ControlNet examples) feed a Zero Out conditioning to the KSampler’s negative instead of an encoded empty string. If you’re at CFG 1, the negative is skipped anyway; see my ComfyUI CFG guide for why.
Conditioning Set Timestep Range
Settings: start (default 0.0) and end (default 1.0), from 0 to 1. It sets start_percent and end_percent on the conditioning, so that prompt only applies during that part of sampling. 0.0 is the very first step (the noisiest), 1.0 the last.
Classic use: prompt editing (A1111’s [from:to:when]).
- Prompt A (“a stone castle on a hill”) → Set Timestep Range 0.0-0.4.
- Prompt B (“a crystal palace on a hill, glowing”) → Set Timestep Range 0.4-1.0.
- Combine A and B, plug into positive.
The early steps lock in the castle’s layout from prompt A, and the later steps paint the details from prompt B. Early steps decide composition, late steps decide texture and detail, so moving the switch point changes how much each prompt contributes.
You can do the same with negatives, for example applying a “blurry, lowres” negative only in the late steps.
Multiply, Set Area, Set Mask and Area Strength
| Node | Settings (default) | What it does |
|---|---|---|
| Conditioning Multiply | multiplier 1.0 (-100 to 100) |
Scales the embedding (and pooled output). Small changes (0.9-1.2) slightly weaken or strengthen a prompt |
| Conditioning (Set Area) | width, height, x, y in pixels (steps of 8), strength 1.0 | Prompt only applies to a rectangle |
| Conditioning (Set Area with Percentage) | width, height, x, y as 0-1 | Same, but relative to image size |
| Conditioning (Set Mask) | mask, strength 1.0, set_cond_area default or mask bounds |
Prompt only applies inside a mask |
| Conditioning Set Area Strength | strength 1.0 (0-10) | Changes the entry’s weight when combined |
These are the building blocks for regional prompting. My ComfyUI masks guide shows how to draw and load the masks.
Practical Recipes
Stop color bleed in a busy prompt
Split the prompt into subject, clothing colors, background and style. Encode each separately and chain Concat nodes. Keep the most important part as the first conditioning_to.
Two characters side by side
Prompt for the left character with Set Area (left half), prompt for the right with Set Area (right half), a general scene prompt with no area, then Combine all three. Lower the strength of the scene prompt if it overrides the characters.
Gentle style
Conditioning Average with your main prompt as to and a style prompt as from, strength 0.7-0.85.
Composition from one prompt, detail from another
Set Timestep Range 0.0-0.3 on the composition prompt, 0.3-1.0 on the detail prompt, then Combine.
Clean negative for SD3-style models
Encode an empty prompt, pass it through Conditioning Zero Out, and plug that into negative (only matters if CFG is above 1). Load the official SD3 anime or SD3.5 ControlNet example image in ComfyUI to see the exact wiring.
For word-level weighting inside a single prompt, like (red dress:1.3), see my prompt weighting guide.
FAQ
What is the difference between Conditioning Combine and Concat?
Combine keeps both prompts as separate entries and averages the model’s predictions during sampling. Concat joins the token embeddings into one longer prompt that the model reads in a single pass. Combine mixes concepts; Concat keeps separately encoded parts from bleeding into each other.
Is Conditioning Concat the same as BREAK?
It does the same job. BREAK in A1111 starts a new separately encoded chunk; Concat appends a separately encoded prompt. ComfyUI’s built-in encoder doesn’t treat BREAK specially.
What does conditioning_to_strength do?
In Conditioning Average it sets the blend: 1.0 uses only the “to” prompt, 0.0 only the “from” prompt, and 0.5 an even mix of the two embeddings.
Does Conditioning Combine slow down generation?
Yes, a bit. Each entry is another model prediction per step, though ComfyUI batches them when possible. Concat and Average add almost no cost.
When should I use Conditioning Zero Out?
As the negative prompt for models whose official workflows use it, such as SD3 and SD3.5. It gives a true empty conditioning instead of an encoded blank string.
How do I switch prompts halfway through generation?
Put Conditioning Set Timestep Range on each prompt (for example 0.0-0.5 and 0.5-1.0) and Combine them into the positive input.
Why does Concat ignore my second prompt’s options?
Concat keeps the options (pooled output, area, mask) of conditioning_to and only takes the embedding from the first entry of conditioning_from. Average works the same way, except that it also blends the pooled output.
Sources
- ComfyUI source: nodes.py (ConditioningCombine, Average, Concat, Multiply, Set Area, Set Mask, Zero Out, Set Timestep Range)
- ComfyUI source: comfy/samplers.py (calc_cond_batch weighted averaging of conds)
- ComfyUI docs: Conditioning (Combine) and Conditioning (Concat)
- ComfyUI_examples: area composition



