Visit ComfyUI Online for ready-to-use ComfyUI environment
Interpolate text prompts for smooth animation transitions.
The BatchStringSchedule
node is designed to process and interpolate a series of text prompts over a specified number of frames, returning a batch of strings. This node is particularly useful for creating smooth transitions in animations by interpolating the weights of positive and negative prompts over time. By leveraging this node, you can generate dynamic and evolving text prompts that can be used in various AI art applications, enhancing the creative possibilities and providing a more fluid and cohesive animation experience.
This parameter accepts a string input that contains the text prompts to be processed. The text can be multiline and should be formatted to include the keyframes and weights for interpolation. The function of this parameter is to provide the base content that will be interpolated over the specified frames. There is no explicit minimum or maximum value for this parameter, but it should be structured correctly to ensure proper processing.
This string parameter allows you to add a prefix to each prompt in the batch. It is useful for adding consistent introductory text to all prompts. The default value is an empty string.
This string parameter allows you to append text to the end of each prompt in the batch. It is useful for adding consistent concluding text to all prompts. The default value is an empty string.
This integer parameter specifies the maximum number of frames over which the text prompts will be interpolated. It determines the length of the animation. The default value is 120, with a minimum value of 1 and a maximum value of 999999.
This boolean parameter, when set to true, enables the printing of the output for debugging purposes. The default value is false.
These parameters are used to control the weights for the interpolation process. They are floating-point values that influence how the prompts are blended over the frames. The default values are 0.
This output parameter returns the current positive prompt after interpolation. It represents the interpolated text prompt for the current frame, providing a smooth transition from one keyframe to the next.
This output parameter returns the current negative prompt after interpolation. Similar to the positive prompt, it represents the interpolated text prompt for the current frame but for the negative prompts.
pre_text
and app_text
parameters to add consistent introductory and concluding text to all prompts, enhancing the coherence of your animation.max_frames
parameter according to the length of your animation to ensure that the interpolation covers the entire duration.print_output
parameter for debugging to verify that the prompts are being interpolated correctly.max_frames
parameter exceeds the maximum allowed value.max_frames
value to be within the acceptable range (1 to 999999).print_output
is set to true.© Copyright 2024 RunComfy. All Rights Reserved.