Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance AI art prompts with specific styles, strip syntax, match case-insensitively, apply predefined styles, process wildcards, adjust dynamically, encode text for control and refinement.
Prompt With Style V3 is a sophisticated node designed to enhance your AI-generated art by integrating specific styles into your prompts. This node allows you to strip style syntax from your prompts, match styles case-insensitively, and apply predefined positive and negative styles to your prompts. It processes wildcards and random syntax, ensuring that your prompts are dynamically adjusted based on the provided seed. The node also encodes text using CLIPTextEncodeSDXL and CLIPTextEncodeSDXLRefiner, adding metadata to the prompts for better control and refinement. This functionality is particularly useful for AI artists looking to maintain consistency in style across different prompts while also having the flexibility to introduce user-defined styles.
The positive_prompt
parameter is the initial text input that you want to enhance with a positive style. This prompt will be processed to replace wildcards and random syntax, and then combined with the predefined positive style. The final output will be a more refined and stylistically consistent prompt. There are no strict minimum or maximum values, but it should be a meaningful string that describes the desired outcome.
The negative_prompt
parameter is the initial text input that you want to enhance with a negative style. Similar to the positive prompt, this will be processed to replace wildcards and random syntax, and then combined with the predefined negative style. This helps in refining the prompt to avoid certain styles or elements. There are no strict minimum or maximum values, but it should be a meaningful string that describes the elements to avoid.
The style
parameter specifies the style to be applied to the prompts. If the provided style is not found in the predefined styles, the node will attempt a case-insensitive match. If no match is found, a default style of 'none' is applied. This parameter ensures that the prompts are consistent with the desired artistic style. The value should be a string that matches one of the predefined styles.
The seed
parameter is used to ensure the reproducibility of the prompt processing. It affects the replacement of wildcards and random syntax, making sure that the same seed will produce the same output prompts. This is particularly useful for maintaining consistency across different runs. The value should be an integer.
The positive_prompt
output is the refined and styled version of the initial positive prompt. It combines the original text with the predefined positive style, ensuring a consistent and enhanced prompt for AI art generation. This output is crucial for achieving the desired artistic effect.
The negative_prompt
output is the refined and styled version of the initial negative prompt. It combines the original text with the predefined negative style, helping to avoid certain elements or styles in the generated art. This output is essential for refining the artistic direction.
The style
output is the final style applied to the prompts. It reflects the style that was matched or defaulted to during the processing. This output is useful for understanding which style was ultimately applied to the prompts.
positive_prompt
and negative_prompt
are meaningful and descriptive to get the best results.seed
parameter to maintain consistency across different runs, especially if you are experimenting with different styles.<style_name>
<positive_prompt>
is empty or invalid<negative_prompt>
is empty or invalid© Copyright 2024 RunComfy. All Rights Reserved.