ComfyUI  >  Nodes  >  FizzNodes >  Prompt Schedule 📅🅕🅝

ComfyUI Node: Prompt Schedule 📅🅕🅝

Class Name

PromptSchedule

Category
FizzNodes 📅🅕🅝/ScheduleNodes
Author
FizzleDorf (Account age: 1989 days)
Extension
FizzNodes
Latest Updated
6/27/2024
Github Stars
0.3K

How to Install FizzNodes

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

Prompt Schedule 📅🅕🅝 Description

Manage and sequence animation prompts efficiently with conditioning strengths using the `PromptSchedule` node.

Prompt Schedule 📅🅕🅝:

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.

Prompt Schedule 📅🅕🅝 Input Parameters:

text

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.

num_frames

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.

in_text

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.

max_frames

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.

Prompt Schedule 📅🅕🅝 Output Parameters:

INT

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.

STRING

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.

Prompt Schedule 📅🅕🅝 Usage Tips:

  • Ensure that your text input is well-formatted and free of unnecessary whitespace or newlines to avoid parsing errors.
  • Use the num_frames parameter to control the duration of each prompt effectively. Adjust it based on the complexity and length of your animation.
  • Utilize the in_text parameter to add supplementary information or context to your main prompt, enhancing the overall narrative of your animation.
  • Set the max_frames parameter appropriately to manage the total length of your animation and ensure that all prompts are scheduled within the desired frame range.

Prompt Schedule 📅🅕🅝 Common Errors and Solutions:

"Invalid JSON format in text input"

  • Explanation: This error occurs when the text input contains improperly formatted JSON, such as missing commas or brackets.
  • Solution: Review your text input and ensure that it follows the correct JSON format. Use a JSON validator tool to check for syntax errors.

"num_frames value out of range"

  • Explanation: This error happens when the num_frames parameter is set outside the allowed range (0 to 9999).
  • Solution: Adjust the 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 value out of range"

  • Explanation: This error occurs when the max_frames parameter is set outside the allowed range (0 to 999999).
  • Solution: Set the max_frames value within the specified range. Ensure that it is a positive integer and does not exceed the maximum limit.

"Missing required text input"

  • Explanation: This error happens when the text parameter is not provided.
  • Solution: Ensure that you provide a valid text input. This parameter is required for the node to function correctly.

Prompt Schedule 📅🅕🅝 Related Nodes

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