Nodes/ComfyUI_agilly1989_motorway/PairConditioningSetPropertiesAndCombine_motorway_edition
ComfyUI Node

PairConditioningSetPropertiesAndCombine_motorway_edition

The one-stop conditioning surgery node

By agilly1989·Created 2 years ago·Updated about a year ago· 7
PairConditioningSetPropertiesAndCombine_motorway_edition
  • MOTORWAY 🚌💨
  • MOTORWAY 🚌💨
INPUT_positive_keypositive
INPUT_negative_keynegative
INPUT_positive_NEW_keypositive_NEW
INPUT_negative_NEW_keynegative_NEW
INPUT_mask_keymask
INPUT_hooks_keyhooks
INPUT_timesteps_keytimesteps
strength1.00
set_cond_area
OUTPUT_positive_keypositive
OUTPUT_negative_keynegative

PairConditioningSetPropertiesAndCombine_motorway_edition is the motorway-edition clone of core ComfyUI's "set properties and combine" conditioning node: it takes your existing conditioning pair, layers new conditioning onto it with a mask, hooks, and timestep range, and merges them - all reading and writing the Motorway by key instead of by wire.

The schema mixes keys with two real widgets, and both matter. The key fields: INPUT_positive_key (positive), INPUT_negative_key (negative) - your current pair; INPUT_positive_NEW_key (positive_NEW), INPUT_negative_NEW_key (negative_NEW) - the new conds being layered in; plus INPUT_mask_key (mask), INPUT_hooks_key (hooks), INPUT_timesteps_key (timesteps); and outputs OUTPUT_positive_key / OUTPUT_negative_key (default positive/negative). The widgets: strength (float, default 1, range 0–10, step 0.01) and set_cond_area (enum: default or mask bounds). That's the core "set properties" API - strength and whether the conditioning area is clipped to the mask's bounds.

What it does, functionally: it fetches your working pair and your new pair from the bag, applies the mask/timesteps/strength/area properties to the new conds, combines them with the existing ones, and stores the merged pair back. This is the node for regional or masked prompt layering - "add this subject, but only inside this mask, only during these timesteps" - which is exactly the kind of thing the KB's conditioning-and-mask workflows keep circling back to. The set_cond_area = mask bounds option is where the "area" magic lives: clip the conditioning to the mask region instead of the full canvas.

The "edition" caveat applies in full, and I'll state it plainly: the current release of this pack doesn't register the motorway-edition nodes. The import that enables them is commented out in __init__.py, and the release notes describe it as a hotfix that removed the node-cloning. You'll only see this node in old workflows or old pack versions. So treat this page as documentation of a parked feature, not something to build on today.

Should you somehow run it, the mechanics are the pack's standard: read keys from the sha256-hash-addressed Motorway bag, run the core operation, write results back under the output keys, clone the bag on the way through. Keys are exact and case-sensitive; a mistyped mask key throws the family error 'MotorwayClass' object has no attribute 'hash_'.

Install is the pack's usual:

cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway

restart ComfyUI, or ComfyUI Manager → search "agilly1989". The concept - mask-bound, timestep-gated conditioning merged into a pipe - is genuinely useful; the delivery is beta-ware that's currently switched off. Replicate the behavior with stock conditioning nodes if you need it today, and check back if the author ever re-enables the clone module.

Categoryagilly1989 Nodes/Motorway-ed/advanced/hooks/cond pair

Inputs (12)

NameTypeDefaultDescription
MOTORWAY 🚌💨MOTORWAY 🚌💨
INPUT_positive_keySTRINGpositive
INPUT_negative_keySTRINGnegative
INPUT_positive_NEW_keySTRINGpositive_NEW
INPUT_negative_NEW_keySTRINGnegative_NEW
INPUT_mask_keySTRINGmask
INPUT_hooks_keySTRINGhooks
INPUT_timesteps_keySTRINGtimesteps
strengthFLOAT1.000–10
set_cond_areaCOMBO2 options: default, mask bounds
OUTPUT_positive_keySTRINGpositive
OUTPUT_negative_keySTRINGnegative

Outputs (1)

NameTypeDescription
MOTORWAY 🚌💨MOTORWAY 🚌💨