Visit ComfyUI Online for ready-to-use ComfyUI environment
Dynamic text-based keyframing for AI art projects, enabling smooth condition transitions over time.
The KfKeyframedConditionWithText
node is designed to attach a textual condition to a keyframe within a schedule, allowing for dynamic and time-based conditioning in your AI art projects. This node leverages the power of keyframing to interpolate conditions over time, providing a smooth transition between different states. By incorporating text input, it enables you to define conditions using natural language, which are then tokenized and encoded into a format suitable for keyframing. This functionality is particularly useful for creating animations or sequences where conditions need to change fluidly over time, enhancing the expressiveness and control over your AI-generated art.
The clip
parameter expects a CLIP model, which is used to tokenize and encode the provided text input. This model is essential for converting the text into a format that can be used for conditioning. There are no specific minimum or maximum values for this parameter, but it must be a valid CLIP model.
The text
parameter is a STRING input that allows you to provide the textual condition you want to attach to the keyframe. This text is tokenized and encoded by the CLIP model. The parameter supports multiline input and has a default value of an empty string. This allows you to input complex and detailed conditions using natural language.
The time
parameter is a FLOAT that specifies the time at which the condition should be applied within the schedule. It has a default value of 0 and a step value of 1, allowing you to set precise moments for your conditions. This parameter is crucial for defining when the condition should take effect in the timeline.
The interpolation_method
parameter determines how the condition should be interpolated over time. It is a STRING that can take values from a predefined list of easing methods, with "linear" being the default. This parameter allows you to control the smoothness and style of the transition between conditions.
The schedule
parameter is an optional input that accepts an existing SCHEDULE. If provided, the new keyframed condition will be added to this schedule. If not provided, a new schedule will be created. This parameter is useful for building complex sequences of conditions over time.
The KEYFRAMED_CONDITION
output is a dictionary that contains the keyframed condition, including the tensor and any associated metadata. This output is essential for further processing or for adding to a schedule.
The CONDITIONING
output is a list that includes the encoded condition and any pooled outputs. This output can be used directly in other nodes that require conditioning input, providing a seamless integration with other parts of your workflow.
The SCHEDULE
output is the updated schedule that includes the new keyframed condition. This output is crucial for creating time-based sequences and can be used in nodes that evaluate or manipulate schedules.
KfKeyframedConditionWithText
nodes to build complex and dynamic schedules for your AI art projects.clip
parameter must be a valid CLIP model.text
parameter cannot be empty if you want to attach a meaningful condition.text
parameter to define the condition.time
parameter must be within the valid range of the schedule.time
value is within the bounds of your schedule's timeline.interpolation_method
must be one of the predefined easing methods.© Copyright 2024 RunComfy. All Rights Reserved.