ComfyUI > Nodes > WAS Node Suite > Prompt Styles Selector

ComfyUI Node: Prompt Styles Selector

Class Name

Prompt Styles Selector

Category
WAS Suite/Text
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

Prompt Styles Selector Description

Streamline selection and application of predefined prompt styles for AI-generated art, enhancing image quality and consistency efficiently.

Prompt Styles Selector:

The Prompt Styles Selector node is designed to streamline the process of selecting and applying predefined prompt styles for AI-generated art. This node allows you to choose from a list of saved styles, each containing a positive and negative prompt, which can significantly enhance the quality and consistency of your generated images. By leveraging this node, you can easily manage and apply complex prompt configurations without manually inputting them each time, thus saving time and reducing errors. The main goal of this node is to provide a user-friendly interface for selecting and loading prompt styles, making it easier for AI artists to experiment with different artistic directions and achieve desired results efficiently.

Prompt Styles Selector Input Parameters:

style

This parameter allows you to select a predefined prompt style from a list of available styles. The list is populated from a styles file located at a specified path. If the styles file does not exist or is empty, the list will contain a default option "None". Selecting a style from this list will load the corresponding positive and negative prompts associated with that style. This parameter is crucial for determining the specific artistic direction and characteristics of the generated image.

Prompt Styles Selector Output Parameters:

positive_string

This output parameter provides the positive prompt string associated with the selected style. The positive prompt is a key component in guiding the AI model to generate images with desired features and characteristics. It is essential for defining what elements should be present in the generated artwork.

negative_string

This output parameter provides the negative prompt string associated with the selected style. The negative prompt helps in specifying what elements should be avoided or minimized in the generated image. It is useful for refining the output by excluding unwanted features and ensuring the generated artwork aligns with the desired vision.

Prompt Styles Selector Usage Tips:

  • Ensure that your styles file is properly formatted and contains the necessary prompt styles before using this node. This will ensure a smooth selection process and accurate loading of prompts.
  • Experiment with different styles to see how they affect the generated images. This can help you discover new artistic directions and refine your creative process.
  • Use descriptive names for your styles to make it easier to identify and select the appropriate style for your project.

Prompt Styles Selector Common Errors and Solutions:

Prompt style <style_name> was not found!

  • Explanation: This error occurs when the selected style is not present in the styles file.
  • Solution: Verify that the style name is correctly spelled and exists in the styles file. If necessary, update the styles file to include the missing style.

The styles file does not exist at <STYLES_PATH>. Unable to load styles! Have you imported your AUTOMATIC1111 WebUI styles?

  • Explanation: This error indicates that the styles file is missing or the path is incorrect.
  • Solution: Ensure that the styles file is located at the specified path and is accessible. If the file is missing, create it and add the necessary styles.

At least a prompt, or negative_prompt input is required!

  • Explanation: This error occurs when both the positive and negative prompts are empty.
  • Solution: Provide at least one of the prompts (positive or negative) to proceed with the style selection.

A name input is required when not using auto=True

  • Explanation: This error occurs when the auto parameter is set to False, but no name is provided for the style.
  • Solution: Ensure that a valid name is provided when auto is set to False to properly identify and save the style.

Prompt Styles Selector 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.