ComfyUI  >  Nodes  >  AnimateDiff Evolved >  Adjust PE [Full Stretch] 🎭🅐🅓

ComfyUI Node: Adjust PE [Full Stretch] 🎭🅐🅓

Class Name

ADE_AdjustPEFullStretch

Category
Animate Diff 🎭🅐🅓/ad settings/pe adjust
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

Adjust PE [Full Stretch] 🎭🅐🅓 Description

Adjust PE length for animation models, enhancing motion control and interpolation precision.

Adjust PE [Full Stretch] 🎭🅐🅓:

The ADE_AdjustPEFullStretch node is designed to adjust the positional encoding (PE) length in your animation models, providing flexibility and control over the interpolation and stretching of PE values. This node is particularly useful for AI artists looking to fine-tune the motion and spatial characteristics of their animations. By allowing you to specify the desired stretch and interpolation lengths, the node helps in achieving smoother transitions and more dynamic animations. Additionally, it offers the option to print adjustments for better debugging and understanding of the changes applied.

Adjust PE [Full Stretch] 🎭🅐🅓 Input Parameters:

pe_stretch

This parameter defines the amount by which the positional encoding (PE) should be stretched. It allows you to extend the PE length, which can be useful for creating more dynamic and fluid animations. The value is an integer with a default of 0, and it can range from 0 to a very large maximum value (BIGMAX). Adjusting this parameter will directly impact the length of the PE, making your animations either more stretched or compressed.

This boolean parameter determines whether the adjustments made to the PE should be printed out for debugging purposes. When set to True, the node will log the changes applied to the PE, providing you with valuable insights into how the adjustments are affecting your animation. The default value is False.

prev_pe_adjust

This optional parameter allows you to pass in a previous PE adjustment group. If provided, the new adjustments will be added to this group, enabling cumulative adjustments. This is useful for applying multiple layers of PE adjustments in a sequential manner.

Adjust PE [Full Stretch] 🎭🅐🅓 Output Parameters:

PE_ADJUST

The output of this node is a PE_ADJUST object, which encapsulates the adjustments made to the positional encoding. This object can be used in subsequent nodes to apply the specified PE adjustments to your animation model. It contains all the information about the stretch and interpolation lengths, as well as any other adjustments made.

Adjust PE [Full Stretch] 🎭🅐🅓 Usage Tips:

  • To achieve smoother transitions in your animations, experiment with different values for the pe_stretch parameter. Start with small increments to see how it affects the motion.
  • Use the print_adjustment parameter to debug and understand the impact of your adjustments. This can be particularly helpful when fine-tuning complex animations.
  • If you need to apply multiple PE adjustments, make use of the prev_pe_adjust parameter to build upon previous adjustments, creating a more refined and layered effect.

Adjust PE [Full Stretch] 🎭🅐🅓 Common Errors and Solutions:

"Invalid pe_stretch value"

  • Explanation: The value provided for pe_stretch is outside the acceptable range.
  • Solution: Ensure that the pe_stretch value is an integer between 0 and the maximum allowed value (BIGMAX).

"prev_pe_adjust is not a PE_ADJUST object"

  • Explanation: The prev_pe_adjust parameter is not a valid PE_ADJUST object.
  • Solution: Make sure to pass a valid PE_ADJUST object to the prev_pe_adjust parameter if you are using it.

"Adjustment not applied"

  • Explanation: The adjustments specified were not applied to the PE.
  • Solution: Check the values of your input parameters and ensure they are within the acceptable ranges. Also, verify that the print_adjustment parameter is set to True to get more information on why the adjustment might have failed.

Adjust PE [Full Stretch] 🎭🅐🅓 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.