Visit ComfyUI Online for ready-to-use ComfyUI environment
Transform unformatted text prompts into structured keyframes for animation projects.
The DeforumUnformattedPromptNode
is designed to help you transform a series of unformatted text prompts into a structured format that can be used in animation or other sequential art projects. This node takes a block of text where each line represents a different prompt and assigns each line to a specific keyframe based on a defined interval. This allows you to easily manage and organize your prompts for use in various stages of your project, ensuring that each keyframe has the appropriate prompt associated with it. The node is particularly useful for creating animations where different prompts need to be applied at different times, providing a streamlined way to handle complex sequences of prompts.
This parameter accepts a block of text where each line represents a different prompt. The prompts are split by newline characters and assigned to keyframes based on the keyframe_interval
. This allows you to input multiple prompts in a simple, unformatted manner. The unformatted_prompts
parameter is a string that can be multiline, making it easy to input and manage multiple prompts at once.
The keyframe_interval
parameter defines the interval at which each prompt will be assigned to a keyframe. For example, if the interval is set to 50, the first prompt will be assigned to keyframe 0, the second to keyframe 50, the third to keyframe 100, and so on. This parameter is an integer with a default value of 50, a minimum value of 1, and a maximum value of 8192. Adjusting this interval allows you to control the spacing between prompts in your animation or sequence.
The deforum_data
parameter is an optional input that allows you to pass existing deforum data into the node. If provided, the node will append the newly formatted prompts to this existing data. This parameter is useful for integrating the node into larger workflows where deforum data is being passed between multiple nodes.
The output parameter deforum_data
is a dictionary that contains the formatted prompts. Each key in the dictionary represents a keyframe, and the corresponding value is the prompt assigned to that keyframe. This structured format makes it easy to use the prompts in subsequent nodes or processes, ensuring that each keyframe has the correct prompt associated with it.
unformatted_prompts
parameter to quickly input multiple prompts without worrying about formatting. The node will handle the formatting for you.keyframe_interval
to control the spacing between prompts in your animation. A smaller interval will result in more frequent changes, while a larger interval will space the prompts further apart.deforum_data
parameter to integrate the new prompts seamlessly into your existing workflow.keyframe_interval
parameter must be an integer between 1 and 8192. - Solution: Ensure that the value you input for keyframe_interval
is within the valid range.unformatted_prompts
parameter is required and cannot be empty.deforum_data
parameter must be a dictionary if provided.deforum_data
you pass into the node is correctly formatted as a dictionary.© Copyright 2024 RunComfy. All Rights Reserved.