ComfyUI > Nodes > ComfyUI-DD-Nodes > DD Condition Switcher

ComfyUI Node: DD Condition Switcher

Class Name

DD-ConditionSwitcher

Category
🍺DD系列节点
Author
Dontdrunk (Account age: 3252days)
Extension
ComfyUI-DD-Nodes
Latest Updated
2025-05-27
Github Stars
0.05K

How to Install ComfyUI-DD-Nodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-DD-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-DD-Nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

DD Condition Switcher Description

Facilitates dynamic selection of conditioning inputs for AI art generation, enhancing flexibility and control.

DD Condition Switcher:

The DD-ConditionSwitcher node is designed to facilitate the selection of a specific conditioning input from multiple available options. This node is particularly useful in scenarios where you have multiple conditioning inputs and need to dynamically choose one based on certain criteria or preferences. By providing a simple mechanism to switch between up to four conditioning inputs, the DD-ConditionSwitcher enhances flexibility and control in your workflow. This node is part of the DD series, which is known for its intuitive and user-friendly design, making it accessible even to those with limited technical expertise. The primary function of this node is to streamline the process of selecting the desired conditioning input, thereby optimizing the overall efficiency and effectiveness of your AI art generation process.

DD Condition Switcher Input Parameters:

条件1

This parameter represents the first conditioning input. It is a required parameter and serves as one of the potential inputs that can be selected for output. The conditioning input is crucial as it influences the behavior and characteristics of the output generated by the node.

条件2

Similar to 条件1, this parameter is the second conditioning input and is also required. It provides an alternative option for the conditioning input, allowing for greater flexibility in determining the final output.

选择输出

This integer parameter determines which conditioning input will be selected as the output. It is required and has a default value of 1, with a minimum value of 1 and a maximum value of 4. The value of this parameter directly impacts which conditioning input is chosen, making it a critical component in the node's operation.

条件3

This is an optional conditioning input, providing an additional option for selection. If not provided, the node will function with the available inputs. This parameter allows for more complex configurations and greater adaptability in various scenarios.

条件4

Similar to 条件3, this is another optional conditioning input. It further extends the flexibility of the node by offering yet another potential input for selection, accommodating more complex workflows.

DD Condition Switcher Output Parameters:

条件

The output parameter represents the selected conditioning input based on the value of the 选择输出 parameter. This output is crucial as it determines the conditioning that will be applied in subsequent processes. The ability to dynamically select and output a specific conditioning input enhances the adaptability and precision of your AI art generation tasks.

DD Condition Switcher Usage Tips:

  • Ensure that the 选择输出 parameter is set correctly to select the desired conditioning input. This will help avoid unexpected outputs and ensure that the node functions as intended.
  • When using optional inputs 条件3 and 条件4, make sure they are provided if you plan to select them using the 选择输出 parameter. This will prevent any issues related to missing inputs.

DD Condition Switcher Common Errors and Solutions:

警告:条件{选择索引+1}不存在,默认使用条件1

  • Explanation: This warning occurs when the selected conditioning input (based on the 选择输出 parameter) is not provided or is None.
  • Solution: Ensure that all conditioning inputs you plan to use are provided. If you intend to select 条件3 or 条件4, make sure they are not None. Adjust the 选择输出 parameter to select an available input.

DD Condition Switcher Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-DD-Nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.