Visit ComfyUI Online for ready-to-use ComfyUI environment
Manage and manipulate keyframes in latent space for AI art control, enabling smooth transitions and precise representations.
LatentKeyframeTiming is a node designed to manage and manipulate keyframes within a latent space, which is particularly useful in advanced control scenarios for AI-generated art. This node allows you to create, modify, and interpolate keyframes based on specified strengths and indices, enabling smooth transitions and precise control over the latent representations. By leveraging this node, you can achieve more dynamic and nuanced animations or transformations in your AI art projects. The primary goal of LatentKeyframeTiming is to provide a flexible and powerful tool for handling keyframes, ensuring that you can fine-tune the latent space to meet your creative needs.
This parameter specifies the index of the batch for which the keyframe is being created or modified. It is an integer value that determines the position of the keyframe within the batch. The default value is 0, with a minimum value of -BIGMIN and a maximum value of BIGMAX. Adjusting this parameter allows you to target specific batches for keyframe operations.
This parameter defines the strength of the keyframe, which influences the intensity or weight of the latent representation at the specified batch index. It is a float value with a default of 1.0, a minimum of 0.0, and a maximum of 10.0. Modifying the strength parameter enables you to control the impact of the keyframe on the latent space, allowing for subtle or pronounced changes.
This optional parameter allows you to pass a previous LatentKeyframeGroup, which can be used to build upon or modify existing keyframes. If not provided, a new LatentKeyframeGroup will be created. This parameter is useful for maintaining continuity and consistency across multiple keyframe operations.
This is an alternative name for the prev_latent_kf
parameter and serves the same purpose. It ensures backward compatibility with older implementations that might use this naming convention.
This optional parameter can be used to provide additional options or configurations related to the latent images. It is particularly useful when dealing with specific latent image properties or requirements.
This boolean parameter, when set to True, enables the logging of keyframe information, such as batch index and strength. This can be helpful for debugging and verifying the keyframe operations. The default value is False.
This output parameter returns a LatentKeyframeGroup, which contains the modified or newly created keyframes. This group can be used in subsequent operations or nodes to further manipulate the latent space. The LatentKeyframeGroup ensures that all keyframes are organized and accessible for future use.
print_keyframes
parameter to log keyframe details and verify that your keyframe operations are performing as expected.prev_latent_kf
parameter to maintain consistency and build upon existing keyframes.<type>
strength
parameter is not provided as an iterable or a float.strength
parameter is either a float, an integer, or an iterable (e.g., a list of floats).batch_index_from
parameter is less than or equal to the batch_index_to
parameter.batch_index_from
and batch_index_to
are either positive or negative.<type>
strengths_float
parameter is not provided as an iterable or a float.strengths_float
parameter is either a float, an integer, or an iterable (e.g., a list of floats).© Copyright 2024 RunComfy. All Rights Reserved.