ComfyUI Node

Step Rebalance

Hand off between two conditionings mid-denoise

By nova452·Created 2 months ago·Updated 29 days ago· 453
Step Rebalance
  • conditioning_1
  • conditioning_2
  • conditioning
step0.00
bound0.00

Step Rebalance lets one conditioning drive the early part of a generation and another take over later - a timeline switch inside a single denoise. If you've ever wanted "compose with prompt A while the image is still forming, then swap to prompt B to finish the detail," this is the node that expresses it without splitting your workflow into two passes.

The reason it's useful with this pack specifically: diffusion builds an image coarse-to-fine, structure first and detail last. So the conditioning that gives you the right composition isn't always the one that gives you the right finish. Feed a strong reference/structure conditioning early and a cleaner text conditioning late - or the reverse - and you get control over when each influence lands, not just how much.

Inputs and outputs

Four required inputs:

  • conditioning_1 - the conditioning for one phase of the denoise.
  • conditioning_2 - the conditioning for the other phase.
  • step - default 0, range 0 to 1. Where in the denoise the handoff sits, expressed as a fraction of the schedule (0 = the very start, 1 = the end). This is the crossover point.
  • bound - default 0, range 0 to 1. The window around that crossover - how sharp or soft the transition between the two conditionings is. Small bound means an abrupt switch; a larger one blends across a wider band.

Output is a single conditioning for your sampler's positive input.

The way it reads in practice: step picks the moment, bound picks how gently it happens. Leave both at 0 and you're effectively handing off right at the start with a hard edge - you'll usually want to move step toward the middle (0.3–0.6) and give bound a little room so the transition isn't jarring.

Installing it

ComfyUI Manager: search ComfyUI-Conditioning-Rebalance, install, restart. Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/nova452/ComfyUI-ConditioningKrea2Rebalance.git

Restart ComfyUI. No pip deps, no model files - it's conditioning scheduling and doesn't download anything, though it's built with Krea 2 and Ideogram 4 workflows in mind.

Common issues

The two conditionings must share a model's space. Switching between an SDXL conditioning and a Krea 2 one mid-denoise is nonsense - keep both from the same base model.

Because the defaults sit at step 0 and bound 0, a freshly dropped node barely does anything visible until you move step into the range where the switch actually affects the image. If it looks like conditioning_2 is being ignored, that's the first thing to check.

This overlaps conceptually with Rebalance CFG Custom, which schedules two conditionings with full per-timestep weight curves. The difference is scope: Step Rebalance is the simple "switch at a point" version, and Rebalance CFG Custom is the detailed "define the whole ramp" version. If a single handoff point does what you need, use this - it's far easier to reason about. Reach for the CFG-custom node only when one crossover isn't enough control.

Categoryconditioning

Inputs (4)

NameTypeDefaultDescription
conditioning_1CONDITIONING
conditioning_2CONDITIONING
stepFLOAT0.000–1
boundFLOAT0.000–1

Outputs (1)

NameTypeDescription
conditioningCONDITIONING