ComfyUI Node
Conditioning Projection Removal (CCN)
Remove the directional influence of a negative conditioning from a positive via vector projection. A lightweight pre-attention approach to concept suppression for models that lack native negative prompt support (Flux, SD3).
Conditioning Projection Removal (CCN)
- positive
- negative
- conditioning
◄scale1.00►
◄poolingmean►
◄debugfalse►
CategoryCCN/conditioning
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| positive | CONDITIONING | — | |
| negative | CONDITIONING | — | |
| scale | FLOAT | 1.000–10 | Projection removal strength. 1.0 = remove exactly the negative's directional component. >1.0 = overcorrect, pushing away from the negative. 0 = no effect. |
| pooling | COMBO | mean | How to collapse the negative's token sequence into a single concept direction. mean = average all tokens (good general default). max = take the token with the largest norm (picks the most 'opinionated' token). weighted_norm = weight each token by its norm before averaging (emphasizes stronger tokens). |
| debugopt | BOOLEAN | false | Print diagnostics to console |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| conditioning | CONDITIONING | — |