Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-Desert-Pixel-Nodes > DP Switch Controller

ComfyUI Node: DP Switch Controller

Class Name

DP Switch Controller

Category
DP/utils
Author
DesertPixelAi (Account age: 840days)
Extension
ComfyUI-Desert-Pixel-Nodes
Latest Updated
2025-06-22
Github Stars
0.03K

How to Install ComfyUI-Desert-Pixel-Nodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-Desert-Pixel-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Desert-Pixel-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

DP Switch Controller Description

The DP Switch Controller streamlines digital art workflows by toggling between various modes.

DP Switch Controller:

The DP Switch Controller is a versatile node designed to manage and switch between different operational modes within a digital art creation environment. Its primary purpose is to streamline the workflow by allowing you to toggle between various settings such as text-to-image generation, image-to-image transformation, and additional functionalities like IP adapter and ControlNet modes. This node is particularly beneficial for artists who need to quickly adapt their creative process to different requirements without manually adjusting multiple settings. By centralizing these controls, the DP Switch Controller enhances efficiency and flexibility, making it an essential tool for optimizing your creative workflow.

DP Switch Controller Input Parameters:

Mode_Settings

The Mode_Settings parameter allows you to choose between two primary operational modes: "Txt2Image" and "Img2Img". This selection determines whether the node will process input as a text-to-image generation task or an image-to-image transformation task. The default setting is "Txt2Image", which is ideal for generating images from textual descriptions. Switching to "Img2Img" enables the transformation of existing images based on new input parameters, offering a different creative approach. This parameter is crucial for defining the initial processing mode and directly impacts the node's execution path and results.

IPadapter_Mode

The IPadapter_Mode parameter provides control over the IP adapter functionality, with options "IPadapter_OFF" and "IPadapter_ON". By default, this is set to "IPadapter_OFF", meaning the IP adapter is not active. Enabling it by selecting "IPadapter_ON" allows the node to utilize IP adapter features, which can enhance the processing capabilities by integrating additional data or algorithms. This parameter is essential for users who require advanced processing techniques and wish to leverage the full potential of the node's capabilities.

ControlNet_mode

The ControlNet_mode parameter offers the ability to toggle the ControlNet functionality, with options "Controlnet_OFF" and "Controlnet_ON". The default setting is "Controlnet_OFF", indicating that ControlNet features are not in use. Activating it by choosing "Controlnet_ON" enables the node to incorporate ControlNet's advanced network capabilities, which can significantly influence the output by providing more refined control over the processing. This parameter is particularly useful for users looking to achieve more precise and controlled results in their creative projects.

DP Switch Controller Output Parameters:

settings

The settings output parameter provides a tuple containing the current configuration of the node, reflecting the selected modes for Mode_Settings, IPadapter_Mode, and ControlNet_mode. This output is crucial for understanding the node's operational state and ensuring that the desired settings are applied during processing. By examining this output, you can verify that the node is configured correctly and make any necessary adjustments to align with your creative objectives.

DP Switch Controller Usage Tips:

  • To quickly switch between generating new images from text and transforming existing images, adjust the Mode_Settings parameter according to your current project needs.
  • Enable the IPadapter_Mode and ControlNet_mode only when you require their advanced functionalities, as keeping them off can save computational resources if not needed.
  • Regularly check the settings output to ensure that your node configurations align with your intended creative process, especially after making changes to the input parameters.

DP Switch Controller Common Errors and Solutions:

Error in DP_Switch_Controller: Invalid Mode_Settings

  • Explanation: This error occurs when an unsupported value is provided for the Mode_Settings parameter.
  • Solution: Ensure that the Mode_Settings parameter is set to either "Txt2Image" or "Img2Img".

Error in DP_Switch_Controller: Invalid IPadapter_Mode

  • Explanation: This error indicates that an invalid option was selected for the IPadapter_Mode parameter.
  • Solution: Verify that the IPadapter_Mode is set to either "IPadapter_OFF" or "IPadapter_ON".

Error in DP_Switch_Controller: Invalid ControlNet_mode

  • Explanation: This error arises when an incorrect value is assigned to the ControlNet_mode parameter.
  • Solution: Check that the ControlNet_mode is configured to either "Controlnet_OFF" or "Controlnet_ON".

DP Switch Controller Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Desert-Pixel-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 Models, enabling artists to harness the latest AI tools to create incredible art.

DP Switch Controller