ComfyUI > Nodes > Mikey Nodes > Prompt With Style (Mikey)

ComfyUI Node: Prompt With Style (Mikey)

Class Name

Prompt With Style V3

Category
Mikey
Author
bash-j (Account age: 4196days)
Extension
Mikey Nodes
Latest Updated
2024-06-15
Github Stars
0.08K

How to Install Mikey Nodes

Install this extension via the ComfyUI Manager by searching for Mikey Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Mikey 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
  • 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 With Style (Mikey) Description

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 (Mikey):

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.

Prompt With Style (Mikey) Input Parameters:

positive_prompt

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.

negative_prompt

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.

style

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.

seed

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.

Prompt With Style (Mikey) Output Parameters:

positive_prompt

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.

negative_prompt

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.

style

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.

Prompt With Style (Mikey) Usage Tips:

  • Ensure that your positive_prompt and negative_prompt are meaningful and descriptive to get the best results.
  • Use the seed parameter to maintain consistency across different runs, especially if you are experimenting with different styles.
  • If you want to introduce a new style, make sure to add it to the predefined styles list to avoid defaulting to 'none'.

Prompt With Style (Mikey) Common Errors and Solutions:

Could not find style: <style_name>

  • Explanation: The specified style was not found in the predefined styles list.
  • Solution: Ensure that the style name is correctly spelled and matches one of the predefined styles. If the style is new, add it to the predefined styles list.

Positive Prompt Entered: <positive_prompt> is empty or invalid

  • Explanation: The positive prompt provided is either empty or invalid.
  • Solution: Provide a meaningful and descriptive positive prompt to ensure proper processing and styling.

Negative Prompt Entered: <negative_prompt> is empty or invalid

  • Explanation: The negative prompt provided is either empty or invalid.
  • Solution: Provide a meaningful and descriptive negative prompt to ensure proper processing and styling.

Prompt With Style (Mikey) Related Nodes

Go back to the extension to check out more related nodes.
Mikey Nodes
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.