Conditioning (Blend)
Mixing two prompts into one without re-encoding
- conditioning_a
- conditioning_b
- conditioning
You've already encoded two prompts and now you want something in between them - not "run both and average the images," but an actual blended conditioning that captures a bit of each. That's what this node does: take two CONDITIONING inputs, pick a blend algorithm, and get one CONDITIONING out. No re-encoding, no extra CLIP pass.
How it works
conditioning_a and conditioning_b go in, blending_mode picks how they combine, and blending_strength controls how much. The mode list is deliberately varied rather than one-size-fits-all: lerp is the plain linear mix everyone expects, slerp/hslerp/bislerp are spherical-interpolation variants (the same family of math used for blending noise and latents elsewhere in ComfyUI, generally a gentler blend of high-dimensional vectors than a straight lerp), cosine interp and cuberp are other interpolation curves, add/subtract/difference/exclusion combine the two more like image blend modes than a smooth mix, and inject and random do their own thing. The tooltip is honest that blending_strength's meaning depends on which mode you picked - it's not a universal 0-to-1 mix ratio across all twelve, so expect to experiment rather than assume.
Some modes are stochastic, which is why there's a seed input - set it if you want a random-mode blend to be reproducible instead of different every run.
This is the tool for prompt morphing and soft transitions between two ideas - think "portrait of a rosebud" blended toward "portrait of a full bloom rose" at strength 0.5 to land somewhere convincingly in between, without hand-writing an in-between prompt and re-encoding it.
The inputs and outputs that matter
conditioning_a/conditioning_b(CONDITIONING) - the two prompts you're blending. Order can matter depending on the mode (subtractanddifferenceare not symmetric the waylerpis).blending_mode- twelve options; start withlerpif you just want a predictable straight mix, reach forslerp/hslerp/bislerpiflerpfeels flat, and treatadd/subtract/difference/exclusionas the more experimental, image-blend-mode-flavored options.blending_strength(default 0.5, range -10 to 10) - how much of the blend to apply. The wide range past 0-1 is deliberate: values beyond 1 or below 0 push past a simple mix into extrapolation territory for modes that support it.seed- only matters for stochastic modes likerandom; ignore it otherwise.
Single output: conditioning - wire it into your KSampler's positive or negative input exactly like any other conditioning.
How to install it
Via ComfyUI Manager: search "WAS_Extras", install, restart. Manually:
cd ComfyUI/custom_nodes
git clone https://github.com/WASasquatch/WAS_Extras
Restart ComfyUI. No extra dependencies - this is pure tensor math on conditioning objects, nothing to download.
Common issues & troubleshooting
The blend doesn't look like "50% of each." That's expected for most of these modes - only lerp (and arguably cosine interp) behave like a literal percentage mix. Modes like difference or exclusion are combining, not averaging, so a strength of 0.5 won't read as "halfway between A and B."
Results are inconsistent between runs. You're on a stochastic mode (random is the obvious one) without pinning seed. Set it if you need reproducibility.
Pushing blending_strength past 1 breaks the image. That's overshoot, not a bug - the range goes to 10 (and down to -10) on purpose for modes that tolerate extrapolation, but most modes will start producing garbage well before you hit the extremes. Treat anything past roughly ±1.5 as experimental.
You want to blend at a specific point in the image, not the whole prompt. This node blends whole conditionings, not regions - it's not a substitute for spatial/regional prompting tools if what you actually need is different prompts in different areas of the canvas.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| conditioning_a | CONDITIONING | First conditioning input. | |
| conditioning_b | CONDITIONING | Second conditioning input. | |
| blending_mode | COMBO | Blend algorithm to combine conditionings. | |
| blending_strength | FLOAT | 0.500-10–10 | Blend strength; interpretation depends on mode. |
| seed | INT | 00–18446744073709550000 | Optional seed to make stochastic modes reproducible. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| conditioning | CONDITIONING | — |