ComfyUI > Nodes > ComfyUI-Keyframed > Schedule Prompt

ComfyUI Node: Schedule Prompt

Class Name

KfKeyframedConditionWithText

Category
keyframed/schedule
Author
dmarx (Account age: 4505days)
Extension
ComfyUI-Keyframed
Latest Updated
2024-05-22
Github Stars
0.08K

How to Install ComfyUI-Keyframed

Install this extension via the ComfyUI Manager by searching for ComfyUI-Keyframed
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Keyframed 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

Schedule Prompt Description

Dynamic text-based keyframing for AI art projects, enabling smooth condition transitions over time.

Schedule Prompt:

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.

Schedule Prompt Input Parameters:

clip

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.

text

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.

time

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.

interpolation_method

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.

schedule (optional)

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.

Schedule Prompt Output Parameters:

KEYFRAMED_CONDITION

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.

CONDITIONING

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.

SCHEDULE

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.

Schedule Prompt Usage Tips:

  • Use descriptive and detailed text inputs to create more nuanced and expressive conditions.
  • Experiment with different interpolation methods to achieve the desired transition effects between conditions.
  • Combine multiple KfKeyframedConditionWithText nodes to build complex and dynamic schedules for your AI art projects.

Schedule Prompt Common Errors and Solutions:

"Invalid CLIP model"

  • Explanation: The clip parameter must be a valid CLIP model.
  • Solution: Ensure that you provide a valid and compatible CLIP model as input.

"Text input is empty"

  • Explanation: The text parameter cannot be empty if you want to attach a meaningful condition.
  • Solution: Provide a non-empty string for the text parameter to define the condition.

"Time value out of range"

  • Explanation: The time parameter must be within the valid range of the schedule.
  • Solution: Ensure that the time value is within the bounds of your schedule's timeline.

"Invalid interpolation method"

  • Explanation: The interpolation_method must be one of the predefined easing methods.
  • Solution: Choose a valid interpolation method from the available options, such as "linear" or other easing methods.

Schedule Prompt Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Keyframed
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.