ComfyUI > Nodes > VRGameDevGirl Video Enhancement Nodes > ✂️ VRGDG_PromptSplitter

ComfyUI Node: ✂️ VRGDG_PromptSplitter

Class Name

VRGDG_PromptSplitter

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

Efficiently splits single prompts into multiple segments for AI artists, handling up to 50 outputs.

✂️ VRGDG_PromptSplitter:

The VRGDG_PromptSplitter is a versatile node designed to facilitate the division of a single prompt text into multiple segments, which can be particularly useful for AI artists working with complex or lengthy prompts. This node is part of the VRGDG category and is tailored to handle up to 50 separate text outputs, making it ideal for scenarios where you need to break down a large prompt into manageable parts for further processing or analysis. By splitting the prompt text based on a specified delimiter, the node allows for efficient organization and manipulation of text data, enhancing the workflow for creative projects that require detailed prompt management.

✂️ VRGDG_PromptSplitter Input Parameters:

prompt_text

The prompt_text parameter is a string input that allows you to provide the text you wish to split into multiple segments. This parameter supports multiline input, making it suitable for lengthy and complex prompts. The text is split based on the pipe (|) character, and each segment is trimmed of whitespace. If the text does not contain the specified delimiter, the entire text is treated as a single segment. This parameter does not have a minimum or maximum length, but it defaults to an empty string if not specified.

scene_count

The scene_count parameter is an integer that determines the number of segments the prompt text will be divided into. It directly impacts the number of output strings generated by the node. The value of scene_count can range from a minimum of 1 to a maximum of 50, with a default value of 2. This parameter allows you to control the granularity of the text segmentation, ensuring that the output matches your specific needs for prompt management.

✂️ VRGDG_PromptSplitter Output Parameters:

text_output_1, text_output_2, ..., text_output_50

Each text_output parameter represents a segment of the original prompt text, split according to the specified scene_count. The outputs are named sequentially from text_output_1 to text_output_50, corresponding to the number of segments requested. If the number of segments in the prompt text is less than the scene_count, the remaining outputs will be empty strings. These outputs provide a structured way to access each part of the split text, facilitating further processing or integration into other workflows.

✂️ VRGDG_PromptSplitter Usage Tips:

  • To ensure optimal performance, use the pipe (|) character consistently as a delimiter in your prompt text to achieve accurate segmentation.
  • Adjust the scene_count parameter based on the complexity and length of your prompt to avoid unnecessary empty outputs and to match your specific project requirements.

✂️ VRGDG_PromptSplitter 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, resulting in some outputs being empty.
  • Solution: Ensure that your prompt text contains enough segments separated by the pipe (|) character to match the scene_count. Alternatively, reduce the scene_count to match the actual number of segments in your text.

✂️ VRGDG_PromptSplitter 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.