ComfyUI > Nodes > ComfyUI-Keyframed > Add Conditions

ComfyUI Node: Add Conditions

Class Name

KfConditioningAdd

Category
keyframed
Author
dmarx (Account age: 4505days)
Extension
ComfyUI-Keyframed
Latest Updated
2024-05-22
Github Stars
0.08K

How to Install ComfyUI-Keyframed

Install this extension via the ComfyUI Manager by searching for ComfyUI-Keyframed
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Keyframed 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Add Conditions Description

Combine conditioning inputs to enhance overall effect for sophisticated AI-generated art.

Add Conditions:

The KfConditioningAdd node is designed to combine two conditioning inputs in a way that enhances the overall conditioning effect. This node is particularly useful in scenarios where you need to merge different conditioning data to create a more complex and nuanced conditioning output. By adding the tensors and pooling the outputs from the two conditioning inputs, this node ensures that the resulting conditioning is a blend of both inputs, which can be beneficial for achieving more sophisticated AI-generated art. The primary goal of this node is to facilitate the combination of conditioning data, making it easier to manage and manipulate multiple conditioning sources in your AI art projects.

Add Conditions Input Parameters:

conditioning_1

conditioning_1 is the first conditioning input that you want to combine. This parameter is essential as it provides the base conditioning data that will be merged with the second conditioning input. The conditioning data typically includes tensors and a dictionary with various attributes, such as pooled_output. This parameter does not have a default value and must be provided for the node to function correctly.

conditioning_2

conditioning_2 is the second conditioning input that will be added to the first conditioning input. Similar to conditioning_1, this parameter includes tensors and a dictionary with attributes like pooled_output. This parameter is also required and does not have a default value. The combination of conditioning_1 and conditioning_2 allows for a richer and more detailed conditioning output.

Add Conditions Output Parameters:

CONDITIONING

The output parameter CONDITIONING is the result of combining the two input conditioning parameters. This output includes the merged tensors and a dictionary with the combined attributes, such as the summed pooled_output. The resulting conditioning data can then be used in subsequent nodes to influence the AI-generated art, providing a more complex and nuanced conditioning effect.

Add Conditions Usage Tips:

  • Ensure that both conditioning_1 and conditioning_2 are provided and contain compatible data structures to avoid errors during the combination process.
  • Use this node when you need to blend different conditioning sources to achieve a more sophisticated and detailed conditioning effect in your AI art projects.
  • Experiment with different combinations of conditioning inputs to see how they influence the final output, allowing you to fine-tune the conditioning for your specific needs.

Add Conditions Common Errors and Solutions:

AssertionError: Length of conditioning inputs do not match

  • Explanation: This error occurs when the lengths of conditioning_1 and conditioning_2 do not match, meaning they have a different number of elements.
  • Solution: Ensure that both conditioning inputs have the same length by verifying the number of elements in each input before using the node.

KeyError: 'pooled_output' not found in conditioning dictionary

  • Explanation: This error happens when the pooled_output key is missing from one or both of the conditioning dictionaries.
  • Solution: Check that both conditioning inputs include the pooled_output key in their dictionaries. If necessary, add a default pooled_output value to the dictionaries before using the node.

TypeError: Incompatible data types in conditioning inputs

  • Explanation: This error occurs when the data types of the tensors or dictionary values in the conditioning inputs are incompatible for addition.
  • Solution: Verify that the tensors and dictionary values in both conditioning inputs are of compatible data types. Convert any incompatible data types to a common type before using the node.

Add Conditions Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Keyframed
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.