ComfyUI  >  Nodes  >  AnimateDiff Evolved >  Custom CFG Keyframe 🎭🅐🅓

ComfyUI Node: Custom CFG Keyframe 🎭🅐🅓

Class Name

ADE_CustomCFGKeyframe

Category
Animate Diff 🎭🅐🅓/sample settings
Author
Kosinkadink (Account age: 3712 days)
Extension
AnimateDiff Evolved
Latest Updated
6/17/2024
Github Stars
2.2K

How to Install AnimateDiff Evolved

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

Custom CFG Keyframe 🎭🅐🅓 Description

Facilitates custom keyframes for dynamic configuration adjustments in animations, enhancing control and expressiveness.

Custom CFG Keyframe 🎭🅐🅓:

The ADE_CustomCFGKeyframe node is designed to facilitate the creation and management of custom keyframes for controlling the configuration (CFG) values in animation workflows. This node allows you to define keyframes with specific configuration multipliers, which can be used to adjust various parameters dynamically over the course of an animation. By leveraging this node, you can achieve more precise and nuanced control over your animations, ensuring that specific effects or adjustments are applied at the right moments. The primary goal of this node is to enhance the flexibility and expressiveness of your animation projects by providing a straightforward way to manage configuration changes over time.

Custom CFG Keyframe 🎭🅐🅓 Input Parameters:

cfg_multival

The cfg_multival parameter represents the configuration multiplier value that will be applied at the keyframe. This value can be a float or a tensor, allowing for a wide range of adjustments to be made. The configuration multiplier directly impacts the intensity or strength of the effect being controlled, making it a crucial parameter for fine-tuning your animations. There are no explicit minimum or maximum values provided, but the default is typically set based on the specific requirements of your animation.

start_percent

The start_percent parameter defines the starting point of the keyframe as a percentage of the total animation duration. This value ranges from 0.0 to 1.0, with a default of 0.0. It determines when the keyframe's configuration multiplier will begin to take effect, allowing you to schedule changes precisely within the animation timeline.

guarantee_steps

The guarantee_steps parameter specifies the number of steps for which the keyframe's configuration multiplier is guaranteed to be applied. This integer value ensures that the effect of the keyframe is maintained for a certain duration, providing stability and consistency in the animation. The default value is 1, with a minimum of 0 and no specified maximum.

Custom CFG Keyframe 🎭🅐🅓 Output Parameters:

CUSTOM_CFG

The CUSTOM_CFG output parameter represents the custom configuration keyframe group that has been created. This output is essential for integrating the keyframe into your animation workflow, as it encapsulates all the defined keyframes and their respective configuration multipliers. The CUSTOM_CFG output allows for seamless application and management of configuration changes throughout the animation.

Custom CFG Keyframe 🎭🅐🅓 Usage Tips:

  • To achieve smooth transitions between different configuration states, carefully plan the start_percent values of your keyframes to ensure they are evenly distributed across the animation timeline.
  • Experiment with different cfg_multival values to find the optimal configuration multiplier that enhances the desired effect without overpowering the animation.
  • Use the guarantee_steps parameter to maintain the effect of critical keyframes, especially in sections of the animation where consistency is crucial.

Custom CFG Keyframe 🎭🅐🅓 Common Errors and Solutions:

Invalid cfg_multival type

  • Explanation: The cfg_multival parameter must be either a float or a tensor. If an invalid type is provided, the node will not function correctly.
  • Solution: Ensure that the cfg_multival value is either a float or a tensor before passing it to the node.

start_percent out of range

  • Explanation: The start_percent parameter must be within the range of 0.0 to 1.0. Values outside this range will cause errors.
  • Solution: Verify that the start_percent value is between 0.0 and 1.0 before using it in the node.

guarantee_steps negative value

  • Explanation: The guarantee_steps parameter must be a non-negative integer. Negative values are not allowed and will result in errors.
  • Solution: Check that the guarantee_steps value is 0 or greater before setting it in the node.

Custom CFG Keyframe 🎭🅐🅓 Related Nodes

Go back to the extension to check out more related nodes.
AnimateDiff Evolved
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.