← See All Custom Node Packs

ComfyUI-Advanced-ControlNet

972

Run ComfyUI Easily with InstaSD

Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:

  • One-click deployment
  • Any model, any node
  • Powerful GPUs for rapid iteration
Get Started

ScaledSoftControlNetWeights

ScaledSoftControlNetWeights Node Documentation

Overview

The ScaledSoftControlNetWeights node is a part of the ComfyUI-Advanced-ControlNet package, which enhances the capabilities of ControlNet by allowing detailed manipulation of weights for control networks. Specifically, this node provides an advanced system for applying scaled and soft weights to a control network, allowing for nuanced control over the influence of the control network versus the input prompt.

Node Functionality

The primary function of the ScaledSoftControlNetWeights node is to allow users to adjust the influence of control networks in their workflows by applying scaled soft weights. This helps in achieving the desired balance between the control network and the original prompt conditioning, essentially allowing the user to emphasize or de-emphasize the control network's effect.

Inputs

The ScaledSoftControlNetWeights node accepts the following inputs:

  • Base Multiplier (base_multiplier): This input allows users to set how "soft" the application of weights should be in relation to the control network and prompt. Adjusting this can help in replicating features like "My prompt is more important" from popular applications.

  • Unconditional Multiplier (uncond_multiplier): This input is used to further control the strength of the control network influence against the prompt. Setting this value to 0.0 can replicate settings found in other applications where the control network is prioritized over the prompt, while values between 0.0 and 1.0 offer a graduated control over this setting.

Outputs

The ScaledSoftControlNetWeights node produces the following output:

  • CONTROL_NET_WEIGHTS: This output is the adjusted set of weights applied to the control network. It combines the scaling and soft weighting adjustments as defined by the node's inputs.

Usage in ComfyUI Workflows

In a typical ComfyUI workflow, the ScaledSoftControlNetWeights node can be used to fine-tune the balance between the control network's guidance and the original input prompt. This is especially useful in scenarios where:

  • You need to achieve precise control over the image generation process by tweaking how much influence the control network should have.
  • You want to replicate or mimic specific features from other popular interfaces, such as auto1111's sd-webui ControlNet extension settings.

The node can be integrated into workflows where ControlNet is being applied, providing users the flexibility to adjust weights in such a way that can significantly affect the final output's characteristics and aesthetics.

Special Features and Considerations

  • Soft Weights Feature: This node supports the "Soft Weights" feature, which emulates priority features such as "My prompt is more important," by modulating the influence strength using the base_multiplier.

  • Granular Control: With the uncond_multiplier, users can achieve granular control over how the control network's influence is scaled relative to the strength of the prompt's conditioning.

  • Compatibility: The node is designed to work seamlessly with various ControlNet types supported in the ComfyUI-Advanced-ControlNet package, such as T2IAdapters, ControlLoRAs, SparseCtrls, and more.

By using the ScaledSoftControlNetWeights node, users can impart more nuanced controls over their ControlNet-oriented image generation projects, providing an extra layer of customization not possible with typical control techniques.