PairConditioningSetPropertiesAndCombine_motorway_edition
The one-stop conditioning surgery node
- MOTORWAY 🚌💨
- MOTORWAY 🚌💨
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.
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| MOTORWAY 🚌💨 | MOTORWAY 🚌💨 | — | |
| INPUT_positive_key | STRING | positive | — |
| INPUT_negative_key | STRING | negative | — |
| INPUT_positive_NEW_key | STRING | positive_NEW | — |
| INPUT_negative_NEW_key | STRING | negative_NEW | — |
| INPUT_mask_key | STRING | mask | — |
| INPUT_hooks_key | STRING | hooks | — |
| INPUT_timesteps_key | STRING | timesteps | — |
| strength | FLOAT | 1.000–10 | — |
| set_cond_area | COMBO | 2 options: default, mask bounds | |
| OUTPUT_positive_key | STRING | positive | — |
| OUTPUT_negative_key | STRING | negative | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MOTORWAY 🚌💨 | MOTORWAY 🚌💨 | — |