ComfyUI > Nodes > AnimateDiff Evolved > LoRA Hook Keyframes From List 🎭🅐🅓

ComfyUI Node: LoRA Hook Keyframes From List 🎭🅐🅓

Class Name

ADE_LoraHookKeyframeFromStrengthList

Category
Animate Diff 🎭🅐🅓/conditioning/schedule lora hooks
Author
Kosinkadink (Account age: 3712days)
Extension
AnimateDiff Evolved
Latest Updated
2024-06-17
Github Stars
2.24K

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 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

LoRA Hook Keyframes From List 🎭🅐🅓 Description

Create LoRA hook keyframes from strength list for dynamic AI model conditioning and animation control.

LoRA Hook Keyframes From List 🎭🅐🅓:

The ADE_LoraHookKeyframeFromStrengthList node is designed to create a series of LoRA (Low-Rank Adaptation) hook keyframes based on a list of strength values. This node is particularly useful for AI artists who want to animate or condition their models with varying strengths over time. By providing a list of strength values, this node interpolates these values over a specified percentage range, creating keyframes that can be used to control the influence of LoRA hooks dynamically. This allows for more nuanced and controlled animations or conditioning effects, enhancing the creative possibilities for AI-generated art.

LoRA Hook Keyframes From List 🎭🅐🅓 Input Parameters:

strengths_float

This parameter accepts either a single float value or a list of float values representing the strengths to be used for creating the keyframes. If a single float is provided, it will be converted into a list with one element. The strengths determine the influence of each keyframe. The default value is -1, with a minimum step of 0.001.

start_percent

This float parameter specifies the starting percentage of the interpolation range. It defines where the first keyframe will be placed in the timeline. The value ranges from 0.0 to 1.0, with a default of 0.0 and a step of 0.001.

end_percent

This float parameter specifies the ending percentage of the interpolation range. It defines where the last keyframe will be placed in the timeline. The value ranges from 0.0 to 1.0, with a default of 1.0 and a step of 0.001.

This boolean parameter determines whether the created keyframes should be printed to the log for debugging or informational purposes. The default value is False.

prev_hook_kf

This optional parameter accepts a LORA_HOOK_KEYFRAMES object, which represents a group of previously created keyframes. If provided, the new keyframes will be added to this group. If not provided, a new group will be created.

LoRA Hook Keyframes From List 🎭🅐🅓 Output Parameters:

HOOK_KF

This output parameter returns a LORA_HOOK_KEYFRAMES object, which contains the group of keyframes created based on the provided strength values and interpolation range. This object can be used in subsequent nodes to apply the keyframes to the model.

LoRA Hook Keyframes From List 🎭🅐🅓 Usage Tips:

  • To create a smooth transition of strengths over time, provide a list of strength values that gradually increase or decrease.
  • Use the start_percent and end_percent parameters to control the timing of the keyframes within your animation or conditioning sequence.
  • Enable the print_keyframes option to verify the created keyframes and ensure they are placed correctly in the timeline.

LoRA Hook Keyframes From List 🎭🅐🅓 Common Errors and Solutions:

strengths_float must be either an iterable input or a float

  • Explanation: This error occurs when the strengths_float parameter is neither a float nor an iterable (like a list).
  • Solution: Ensure that you provide either a single float value or a list of float values for the strengths_float parameter.

prev_hook_kf is not of type LORA_HOOK_KEYFRAMES

  • Explanation: This error occurs when the prev_hook_kf parameter is not a LORA_HOOK_KEYFRAMES object.
  • Solution: Ensure that the prev_hook_kf parameter, if provided, is a valid LORA_HOOK_KEYFRAMES object. If you are not sure, you can omit this parameter to create a new group of keyframes.

LoRA Hook Keyframes From List 🎭🅐🅓 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.