ComfyUI > Nodes > WAS Node Suite > Text Parse Noodle Soup Prompts

ComfyUI Node: Text Parse Noodle Soup Prompts

Class Name

Text Parse Noodle Soup Prompts

Category
WAS Suite/Text/Parse
Author
WASasquatch (Account age: 4688days)
Extension
WAS Node Suite
Latest Updated
2024-08-25
Github Stars
1.07K

How to Install WAS Node Suite

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

Text Parse Noodle Soup Prompts Description

Enhance text prompts with dynamic placeholders from predefined terms for AI artists seeking variety and creativity.

Text Parse Noodle Soup Prompts:

The Text Parse Noodle Soup Prompts node is designed to enhance your text prompts by dynamically replacing placeholders with random selections from a predefined set of terms. This functionality is particularly useful for AI artists looking to add variety and creativity to their text inputs without manually crafting each variation. By leveraging the Noodle Soup Prompts (NSP) methodology, this node fetches a list of terms and their possible replacements, ensuring that your text prompts are enriched with diverse and contextually relevant content. The node can also handle wildcards, providing an additional layer of flexibility. Whether you are generating art descriptions, story elements, or any other text-based content, this node helps you achieve a higher level of dynamism and unpredictability, making your outputs more engaging and unique.

Text Parse Noodle Soup Prompts Input Parameters:

mode

The mode parameter determines the method used for parsing the text. It can be set to either Noodle Soup Prompts or Wildcards. When set to Noodle Soup Prompts, the node will replace placeholders in the text with random selections from a predefined set of terms. When set to Wildcards, it will replace placeholders with wildcard values stored in a specific directory. This parameter allows you to choose the parsing strategy that best fits your needs.

noodle_key

The noodle_key parameter specifies the delimiter used to identify placeholders in the text. By default, it is set to __. This means that any text enclosed within double underscores will be considered a placeholder and replaced accordingly. You can customize this delimiter to suit your specific requirements, ensuring that the node correctly identifies and processes the placeholders in your text.

seed

The seed parameter is an integer value used to initialize the random number generator. By setting a specific seed, you can ensure that the random selections made by the node are reproducible. This is particularly useful for achieving consistent results across multiple runs. The default value is 0, which means that the random selections will vary each time the node is executed. You can set this parameter to any integer value within the range of 0 to 0xffffffffffffffff.

text

The text parameter is the input text that contains the placeholders to be replaced. This text can be a single string or multiline input, depending on your needs. The node will process this text, identify the placeholders based on the specified noodle_key, and replace them with random selections from the predefined set of terms or wildcard values. This parameter is essential for the node's operation, as it provides the content to be parsed and enriched.

Text Parse Noodle Soup Prompts Output Parameters:

parsed_text

The parsed_text parameter is the output text generated by the node after processing the input text. This text will have all the placeholders replaced with random selections from the predefined set of terms or wildcard values, based on the specified mode. The parsed_text provides the enriched and dynamic content that can be used for various creative purposes, ensuring that your outputs are more engaging and unique.

Text Parse Noodle Soup Prompts Usage Tips:

  • To achieve consistent results across multiple runs, set a specific seed value. This will ensure that the random selections made by the node are reproducible.
  • Customize the noodle_key parameter to match the delimiters used in your text. This will help the node correctly identify and process the placeholders.
  • Experiment with different mode settings to see how the node's behavior changes. Use Noodle Soup Prompts for predefined term replacements and Wildcards for more flexible and varied content.

Text Parse Noodle Soup Prompts Common Errors and Solutions:

Unable to establish connection to Lexica API.

  • Explanation: This error occurs when the node is unable to connect to the Lexica API to fetch random prompts.
  • Solution: Check your internet connection and ensure that the Lexica API is accessible. If the issue persists, try again later or use a different query.

Prompt style <prompt_key> was not found!

  • Explanation: This error occurs when the specified prompt style key is not found in the predefined set of terms.
  • Solution: Verify that the prompt style key is correct and exists in the predefined set of terms. If necessary, update the set of terms to include the missing key.

Text Parse Noodle Soup Prompts Related Nodes

Go back to the extension to check out more related nodes.
WAS Node Suite
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.