Visit ComfyUI Online for ready-to-use ComfyUI environment
Manage and interpolate keyframes over timesteps for dynamic parameter control in AI-generated art.
The TimestepKeyframe
node is designed to manage and interpolate keyframes over a series of timesteps, providing a structured way to control various parameters dynamically throughout a process. This node is particularly useful in scenarios where you need to adjust parameters such as strength, control weights, and latent keyframes over time, ensuring smooth transitions and precise control. By leveraging keyframes, you can create complex animations or transformations that evolve predictably and smoothly, enhancing the quality and flexibility of your AI-generated art. The node ensures that keyframes are sorted and managed efficiently, allowing for seamless interpolation and application of changes at specified intervals.
This parameter defines the starting point of the keyframe as a percentage of the total process duration. It determines when the keyframe's effects begin to take place. The value should be a float between 0.0 and 100.0, with a default of 0.0.
The strength parameter controls the intensity of the keyframe's effect. It is a float value that can range from 0.0 to 1.0, with a default of 1.0. Higher values indicate stronger effects.
This parameter allows you to specify control weights that influence the keyframe's behavior. It accepts a ControlWeights
object, which can be customized to adjust various aspects of the keyframe's influence. If not provided, it defaults to None
.
The latent_keyframes parameter is used to include a group of latent keyframes that can be applied in conjunction with the main keyframe. It accepts a LatentKeyframeGroup
object and defaults to None
if not specified.
This parameter sets the strength of the null latent keyframe, which can be used to nullify certain effects. It is a float value ranging from 0.0 to 1.0, with a default of 0.0.
The inherit_missing parameter is a boolean that determines whether missing attributes should be inherited from previous keyframes. It defaults to True
, ensuring continuity in the absence of specific attributes.
This parameter specifies the number of steps for which the keyframe's effects are guaranteed to be applied. It is an integer with a default value of 1, ensuring that the keyframe's influence is maintained for at least one step.
The mask_hint_orig parameter allows you to provide a tensor that serves as a mask hint for the keyframe. This can be used to guide the application of the keyframe's effects. It defaults to None
if not provided.
The output of the TimestepKeyframe
node is a TimestepKeyframeGroup
object. This group contains all the keyframes added during the process, sorted by their start percentages. It provides a structured and organized way to manage and apply keyframes over time, ensuring smooth transitions and precise control of the parameters.
start_percent
values are evenly distributed and that the strength
values are adjusted gradually.control_weights
parameter to fine-tune the influence of each keyframe, allowing for more complex and nuanced effects.inherit_missing
parameter to maintain continuity and avoid abrupt changes in the absence of specific attributes.strength
parameter is not provided as a float or an iterable.strength
parameter is either a single float value or a list of float values.TimestepKeyframeGroup
.control_weights
or latent_keyframes
, is None
.None
if they are required for the process.Β© Copyright 2024 RunComfy. All Rights Reserved.