ComfyUI > Nodes > ComfyUI prompt control > PCPromptFromSchedule

ComfyUI Node: PCPromptFromSchedule

Class Name

PCPromptFromSchedule

Category
promptcontrol
Author
asagi4 (Account age: 449days)
Extension
ComfyUI prompt control
Latest Updated
2024-06-20
Github Stars
0.17K

How to Install ComfyUI prompt control

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

PCPromptFromSchedule Description

Extract specific prompts from schedules for AI artists, with optional tagging for refined control.

PCPromptFromSchedule:

The PCPromptFromSchedule node is designed to extract a specific prompt from a given prompt schedule at a specified point in time. This node is particularly useful for AI artists who work with complex prompt schedules and need to retrieve and apply prompts at precise moments during their creative process. By leveraging this node, you can seamlessly integrate and manage prompts within your workflow, ensuring that the right prompt is applied at the right time. The node also supports optional tagging, allowing for more refined control and filtering of prompts based on custom tags.

PCPromptFromSchedule Input Parameters:

prompt_schedule

The prompt_schedule parameter is a required input that represents the schedule from which the prompt will be extracted. This schedule contains a series of prompts and their associated timings, allowing for dynamic and time-based prompt management. The schedule must be in the format of PROMPT_SCHEDULE.

at

The at parameter is a required input that specifies the exact point in time within the schedule from which the prompt should be extracted. This is a floating-point value ranging from 0.0 to 1.0, where 0.0 represents the start of the schedule and 1.0 represents the end. The value can be adjusted in increments of 0.01, providing precise control over the timing of the prompt extraction.

tags

The tags parameter is an optional input that allows you to filter prompts based on custom tags. This is a string value that can be used to specify one or more tags, enabling more refined control over which prompts are considered during the extraction process. If no tags are provided, the node will consider all prompts in the schedule.

PCPromptFromSchedule Output Parameters:

STRING

The output of the PCPromptFromSchedule node is a string that contains the extracted prompt. This prompt is retrieved from the specified point in the schedule and can be used in subsequent nodes or processes within your workflow. The output ensures that the correct prompt is applied at the right time, enhancing the overall effectiveness and precision of your creative projects.

PCPromptFromSchedule Usage Tips:

  • To ensure accurate prompt extraction, make sure your at parameter is set to the precise point in time within the schedule where the desired prompt is located.
  • Utilize the tags parameter to filter and manage prompts more effectively, especially when working with complex schedules that contain multiple prompts with different tags.
  • Regularly review and update your prompt schedules to maintain consistency and relevance in your creative projects.

PCPromptFromSchedule Common Errors and Solutions:

"Prompt at specified time not found"

  • Explanation: This error occurs when there is no prompt available at the specified at time within the schedule.
  • Solution: Verify that the at parameter is set correctly and that there is a prompt scheduled at that specific time. Adjust the at value if necessary.

"Invalid prompt schedule format"

  • Explanation: This error indicates that the provided prompt_schedule is not in the correct format.
  • Solution: Ensure that the prompt_schedule is properly formatted as a PROMPT_SCHEDULE and contains valid prompts and timings.

"Tag filter returned no results"

  • Explanation: This error occurs when the specified tags do not match any prompts in the schedule.
  • Solution: Check the tags used in the tags parameter and ensure they match the tags assigned to the prompts in the schedule. Adjust the tags if needed.

PCPromptFromSchedule Related Nodes

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