ComfyUI > Nodes > VRGameDevGirl Video Enhancement Nodes > VRGDG_IndexedPromptChunkerV2

ComfyUI Node: VRGDG_IndexedPromptChunkerV2

Class Name

VRGDG_IndexedPromptChunkerV2

Category
VRGDG
Author
vrgamegirl19 (Account age: 949days)
Extension
VRGameDevGirl Video Enhancement Nodes
Latest Updated
2025-12-13
Github Stars
0.21K

How to Install VRGameDevGirl Video Enhancement Nodes

Install this extension via the ComfyUI Manager by searching for VRGameDevGirl Video Enhancement Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter VRGameDevGirl Video Enhancement Nodes 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

VRGDG_IndexedPromptChunkerV2 Description

Efficiently divides text prompts into manageable chunks for sequential processing.

VRGDG_IndexedPromptChunkerV2:

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.

VRGDG_IndexedPromptChunkerV2 Input Parameters:

prompt_text

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.

scene_count

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.

index

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.

total_sets

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.

VRGDG_IndexedPromptChunkerV2 Output Parameters:

text_output_1, text_output_2, ..., text_output_50

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.

VRGDG_IndexedPromptChunkerV2 Usage Tips:

  • To efficiently manage large prompt sets, adjust the 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.
  • Use the index parameter to iterate through different segments of your prompt list, allowing you to process large datasets in smaller, more manageable chunks.
  • Ensure that your prompt_text is correctly formatted with each prompt enclosed in quotes and separated by a pipe (|) to avoid parsing errors and ensure accurate extraction.

VRGDG_IndexedPromptChunkerV2 Common Errors and Solutions:

[PromptChunkerV2] ❌ Not enough prompts for index= with scene_count=<scene_count>. Needed prompts up to <chunk_end>, but only <total_prompts> provided.

  • Explanation: This error occurs when the specified index and scene_count result in a request for more prompts than are available in the prompt_text.
  • Solution: Verify that your 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.

VRGDG_IndexedPromptChunkerV2 Related Nodes

Go back to the extension to check out more related nodes.
VRGameDevGirl Video Enhancement Nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

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.