ComfyUI > Nodes > VRGameDevGirl Video Enhancement Nodes > VRGDG_PromptSplitterV2

ComfyUI Node: VRGDG_PromptSplitterV2

Class Name

VRGDG_PromptSplitterV2

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_PromptSplitterV2 Description

Efficiently splits text prompts into segments for AI artists, offering control over content distribution using delimiters.

VRGDG_PromptSplitterV2:

The VRGDG_PromptSplitterV2 node is designed to efficiently divide a given text prompt into multiple segments, which can be particularly useful for AI artists who need to manage and organize large text inputs for various creative projects. This node allows you to specify the number of segments, or "scenes," into which the prompt should be split, providing flexibility and control over the distribution of content. By using a delimiter, such as a pipe (|), the node identifies and separates different parts of the text, ensuring that each segment is clearly defined and ready for further processing or use in your artistic workflow. This functionality is especially beneficial when dealing with complex narratives or instructions that need to be broken down into manageable pieces.

VRGDG_PromptSplitterV2 Input Parameters:

prompt_text

The prompt_text parameter is a multiline string input that contains the text you wish to split into segments. This text can include various instructions, narratives, or any content that needs to be divided for further use. The node uses a pipe (|) as the primary delimiter to identify different segments within the text. If no pipes are present, the node will attempt to split the text based on paragraph breaks or newlines. This parameter is essential as it provides the raw content that the node will process and split.

scene_count

The scene_count parameter is an integer that determines the number of segments into which the prompt_text will be divided. It allows you to specify how many parts you want the text to be split into, with a minimum value of 1 and a maximum value of 50. The default value is set to 2, providing a starting point for basic splitting tasks. Adjusting this parameter impacts the granularity of the output, enabling you to tailor the segmentation to your specific needs, whether for detailed analysis or broader categorization.

VRGDG_PromptSplitterV2 Output Parameters:

text_output_1, text_output_2, ..., text_output_50

The output parameters, ranging from text_output_1 to text_output_50, represent the individual segments of the prompt_text after it has been split according to the specified scene_count. Each output is a string that contains a portion of the original text, with the number of outputs corresponding to the scene_count value. These outputs are crucial for further processing, as they allow you to work with smaller, more manageable pieces of text, facilitating tasks such as detailed analysis, creative manipulation, or integration into larger projects.

VRGDG_PromptSplitterV2 Usage Tips:

  • To ensure accurate splitting, use a pipe (|) as a delimiter in your prompt_text to clearly define where you want the text to be divided.
  • Adjust the scene_count parameter based on the complexity and length of your prompt_text to achieve the desired level of segmentation.
  • If your text does not contain pipes, consider using paragraph breaks or newlines to guide the splitting process.

VRGDG_PromptSplitterV2 Common Errors and Solutions:

Not enough segments for the specified scene_count

  • Explanation: This error occurs when the number of segments in the prompt_text is less than the specified scene_count.
  • Solution: Ensure that your prompt_text contains enough delimiters (pipes) to create the desired number of segments, or adjust the scene_count to match the available segments.

Empty output segments

  • Explanation: This issue arises when there are fewer segments in the prompt_text than the specified scene_count, resulting in empty outputs.
  • Solution: Verify that your prompt_text is correctly formatted with sufficient content and delimiters, or reduce the scene_count to match the number of available segments.

VRGDG_PromptSplitterV2 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.