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

Latent Input Switch JK๐Ÿ‰

Switch between two latent inputs based on boolean condition

By jakechaiยทCreated 2 years agoยทUpdated 2 months agoยท 146
Latent Input Switch JK๐Ÿ‰
  • latent_false
  • latent_true
  • latent_output
  • boolean
โ—„boolean_valuefalseโ–บ
Category๐Ÿ‰ JK/๐Ÿ”€ Switch

Inputs (3)

NameTypeDefaultDescription
boolean_valueBOOLEANfalseCondition to select between inputs (True=latent_true, False=latent_false)
latent_falseLATENTLatent to return when condition is False
latent_trueoptLATENTLatent to return when condition is True (optional)

Outputs (2)

NameTypeDescription
latent_outputLATENTโ€”
booleanBOOLEANโ€”