Visit ComfyUI Online for ready-to-use ComfyUI environment
Manage and sequence animation prompts efficiently with conditioning strengths using the `PromptSchedule` node.
The PromptSchedule
node is designed to help you manage and sequence your animation prompts effectively. It allows you to parse and format your prompts, sequence them according to the current and next frames, and apply conditioning strengths. This node evaluates expressions within the prompts and returns a batch of conditionings with the schedule applied. By using this node, you can create complex and dynamic animations with ease, ensuring that your prompts are applied at the right frames and with the correct conditioning strengths.
This parameter is a multiline string where you input your formatted prompt. It serves as the main content that will be processed and scheduled across the animation frames. The text should be clear and concise to ensure accurate parsing and scheduling.
This integer parameter specifies the number of frames for which the prompt will be applied. It has a default value of 24, with a minimum of 0 and a maximum of 9999. Adjusting this value allows you to control the duration for which the prompt remains active in the animation sequence.
This optional single-line string parameter allows you to input additional text that will be appended to the main prompt. It is useful for adding context or supplementary information to your primary prompt. If not provided, it defaults to an empty string.
This optional integer parameter sets the maximum number of frames for the animation. It has a default value of 0, with a minimum of 0 and a maximum of 999999. This parameter helps in managing the overall length of the animation and ensures that the prompts are scheduled within the specified frame range.
This output parameter returns the new maximum frame count after adding the specified number of frames (num_frames
) to the existing max_frames
. It helps in tracking the total number of frames in the animation sequence.
This output parameter returns the newly constructed JSON object containing the scheduled prompts. The JSON object includes key-value pairs where the keys represent frame numbers and the values represent the corresponding prompts. This structured output is essential for further processing and applying the prompts in the animation.
text
input is well-formatted and free of unnecessary whitespace or newlines to avoid parsing errors.num_frames
parameter to control the duration of each prompt effectively. Adjust it based on the complexity and length of your animation.in_text
parameter to add supplementary information or context to your main prompt, enhancing the overall narrative of your animation.max_frames
parameter appropriately to manage the total length of your animation and ensure that all prompts are scheduled within the desired frame range.text
input contains improperly formatted JSON, such as missing commas or brackets.text
input and ensure that it follows the correct JSON format. Use a JSON validator tool to check for syntax errors.num_frames
parameter is set outside the allowed range (0 to 9999).num_frames
value to be within the specified range. Ensure that it is a positive integer and does not exceed the maximum limit.max_frames
parameter is set outside the allowed range (0 to 999999).max_frames
value within the specified range. Ensure that it is a positive integer and does not exceed the maximum limit.text
parameter is not provided.text
input. This parameter is required for the node to function correctly.© Copyright 2024 RunComfy. All Rights Reserved.