Nodes/ComfyUI-JakeUpgrade/Noise Input Switch JK๐Ÿ‰
ComfyUI Node

Noise Input Switch JK๐Ÿ‰

One checkbox between two noise patterns โ€” for the latent-noise tweakers

By jakechaiยทCreated 2 years agoยทUpdated 3 months agoยท 146
Noise Input Switch JK๐Ÿ‰
  • noise_false
  • noise_true
  • noise_output
  • boolean
โ—„boolean_valuefalseโ–บ

Noise is the random seed's bigger, weirder cousin - an actual tensor that shapes how the diffusion process randomizes. Noise Input Switch JK๐Ÿ‰ swaps between two NOISE wires based on a boolean, so you can A/B noise sources or patterns without rebuilding your sampler setup.

It exists because JakeUpgrade does a lot of noise injection - the changelog mentions "Noise Injection for Upscale Workflow," "Inject Noise Params," and an entire "Noise | Guider | Sampler | Sigmas switch" addition back in v1.5.0. When you're toggling between "plain random noise" and a noise-injection scheme, the switch is how one graph covers both.

How it works

if noise_true is not None and boolean_value:
    return (noise_true, boolean_value)
else:
    return (noise_false, boolean_value)
  • boolean_value - True โ†’ the "true" noise, False โ†’ the "false" noise.
  • noise_false - required.
  • noise_true - optional; unplugged = pass-through.

Outputs: noise_output (NOISE) and boolean.

The NOISE type is the pre-generated noise tensor that advanced samplers (and noise-injection nodes like the ones in Inspire Pack / BlenderNeko's ComfyUI_Noise, which the pack has leaned on) feed into the sampling process. This node just routes it - so "use the injected noise" vs "use fresh noise" becomes a checkbox.

Where you'd use it

The realistic use is in a refinement or upscale workflow that has two noise strategies: one for the base pass, one for the refinement pass, toggled by whether you want variation. Or compare two injected-noise presets - different seeds, different strengths - to see which produces less flicker or more detail. It's a specialist switch: if you're not doing noise injection, you don't need it. If you are, it beats editing the noise generator's parameters by hand between runs.

Install

Part of ComfyUI-JakeUpgrade. ComfyUI Manager โ†’ search ComfyUI-JakeUpgrade, or:

cd ComfyUI/custom_nodes
git clone https://github.com/jakechai/ComfyUI-JakeUpgrade
cd ComfyUI-JakeUpgrade && pip install -r requirements.txt

Nothing extra. Menu: ๐Ÿ‰ JK/๐Ÿ”€ Switch. Standard pack gotchas: ignore the IPAdapter Plus conflict warning in Manager (replacement folder), and check config.ini if the switch menu is missing.

Category๐Ÿ‰ JK/๐Ÿ”€ Switch

Inputs (3)

NameTypeDefaultDescription
boolean_valueBOOLEANfalseCondition to select between inputs (True=noise_true, False=noise_false)
noise_falseNOISENoise to return when condition is False
noise_trueoptNOISENoise to return when condition is True (optional)

Outputs (2)

NameTypeDescription
noise_outputNOISEโ€”
booleanBOOLEANโ€”