Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently divides text prompts into manageable chunks for sequential processing.
The VRGDG_IndexedPromptChunkerV2 is a powerful node designed to efficiently manage and process large sets of text prompts by dividing them into manageable chunks. This node is particularly useful for AI artists who work with extensive prompt lists and need to break them down into smaller, more digestible parts for sequential processing or analysis. By leveraging an indexing system, it allows you to specify which segment of the prompt list to extract and process, ensuring that you can handle large datasets without overwhelming your system. The node's dynamic nature means it can adapt to varying numbers of prompts, making it versatile for different project needs. Its primary function is to split a given text input into specified chunks based on the index and scene count, providing a streamlined way to handle prompt data in a structured manner.
The prompt_text parameter is a multiline string input that contains the entire set of prompts you wish to process. This text is expected to be formatted with each prompt enclosed in quotes and separated by a pipe (|) character. The node will parse this input to extract individual prompts for further processing. The default value is an empty string, and it supports multiline input to accommodate large prompt sets.
The scene_count parameter determines the number of prompts to extract in each chunk. It directly impacts how many prompts are processed at a time, allowing you to control the granularity of the output. The minimum value is 1, the maximum is 50, and the default is 16. Adjusting this parameter helps manage the workload and ensures that the node outputs a manageable number of prompts per operation.
The index parameter specifies the starting point for the chunk extraction within the prompt list. It allows you to navigate through different segments of your prompt data by setting the index to the desired starting position. The minimum value is 0, the maximum is 999, and the default is 0. This parameter is crucial for iterating over large datasets in a controlled manner.
The total_sets parameter indicates the total number of prompt sets available for processing. It helps the node determine if the specified index is valid and ensures that the extraction process does not exceed the available data. The minimum value is 1, the maximum is 999, and the default is 1. This parameter is essential for maintaining the integrity of the prompt extraction process.
Each text_output parameter represents a single prompt extracted from the input text based on the specified scene_count and index. These outputs are strings that contain the individual prompts, allowing you to access and utilize them in subsequent processes. The number of outputs corresponds to the scene_count, ensuring that you receive the exact number of prompts requested. These outputs are crucial for breaking down large prompt sets into actionable pieces.
scene_count to match the number of prompts you wish to process at a time, ensuring that your system can handle the workload without performance issues.index parameter to iterate through different segments of your prompt list, allowing you to process large datasets in smaller, more manageable chunks.prompt_text is correctly formatted with each prompt enclosed in quotes and separated by a pipe (|) to avoid parsing errors and ensure accurate extraction.[PromptChunkerV2] ❌ Not enough prompts for index= with scene_count=<scene_count>. Needed prompts up to <chunk_end>, but only <total_prompts> provided.index and scene_count result in a request for more prompts than are available in the prompt_text.index and scene_count settings are within the bounds of the available prompts. Adjust these parameters to ensure they do not exceed the total number of prompts provided in the prompt_text.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.