Nodes/ComfyCollectorNodes/Neutral Prompt (CCN)
ComfyUI Node

Neutral Prompt (CCN)

Neutral Prompt — apply perpendicular, salient, or top-k conditioning strategies to positive or negative prompts during sampling. Chain multiple nodes for multi-strategy setups.

By valkymaera·Created 3 months ago·Updated 4 days ago· 1
Neutral Prompt (CCN)
  • model
  • main_conditioning
  • aux_conditioning
  • model
  • conditioning
strategy
side
weight1.00
k_ratio0.050
cfg_rescale0.00
debugfalse
CategoryCCN

Inputs (9)

NameTypeDefaultDescription
modelMODEL
main_conditioningCONDITIONING
aux_conditioningCONDITIONING
strategyCOMBO3 options: perpendicular, salient, top_k
sideCOMBOWhich side of the CFG equation to apply the strategy to. 'positive' merges with the main prompt; 'negative' merges with the negative prompt.
weightFLOAT1.00-10–10Strength of the auxiliary conditioning effect
k_ratiooptFLOAT0.0500.001–1Top-K only: fraction of elements to keep (0.05 = strongest 5%%)
cfg_rescaleoptFLOAT0.000–1Std-dev based CFG rescaling (0 = disabled). Reduces over-exposure artifacts at high CFG.
debugoptBOOLEANfalsePrint per-step diagnostics to the console

Outputs (2)

NameTypeDescription
modelMODEL
conditioningCONDITIONING