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

ComfyUI Node: Prompt With SDXL (Mikey)

Class Name

Prompt With SDXL

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 SDXL (Mikey) Description

Enhance AI art generation with advanced text encoding for refined outputs and controlled results.

Prompt With SDXL (Mikey):

The Prompt With SDXL node is designed to enhance your AI art generation process by integrating advanced text encoding techniques using the CLIPTextEncodeSDXL and CLIPTextEncodeSDXLRefiner classes. This node processes both positive and negative prompts, stripping away unnecessary syntax and encoding the text to create conditioning data that can be used to guide the AI model. By leveraging this node, you can achieve more refined and stylistically consistent outputs, as it allows for the inclusion of aesthetic scores and precise dimensions for both base and refiner models. This node is particularly beneficial for artists looking to fine-tune their prompts and achieve higher quality and more controlled results in their AI-generated artwork.

Prompt With SDXL (Mikey) Input Parameters:

positive_prompt

The positive_prompt parameter is a string input that contains the text you want to positively influence the AI model's output. This prompt is processed and encoded to create conditioning data that guides the model towards generating images that align with the given positive description. There are no specific minimum or maximum values, but the prompt should be clear and descriptive to achieve the best results.

negative_prompt

The negative_prompt parameter is a string input that contains the text you want to negatively influence the AI model's output. This prompt is processed and encoded to create conditioning data that guides the model away from generating images that align with the given negative description. Similar to the positive prompt, there are no specific minimum or maximum values, but the prompt should be clear and descriptive to effectively steer the model.

style

The style parameter is a string input that defines the stylistic approach to be applied to the prompts. In this node, the default value is set to 'none', meaning no additional style is applied. This parameter can be adjusted to include different styles if supported by the underlying model, allowing for more customized and varied outputs.

seed

The seed parameter is an integer input that ensures reproducibility of the results. By setting a specific seed value, you can generate the same output consistently, which is useful for fine-tuning and comparing different prompt configurations. The default value is typically set to a random number, but you can specify any integer value to control the randomness.

width

The width parameter is an integer input that specifies the width of the generated image. This value is used to calculate the target dimensions for the base and refiner models. The default value is typically set to 1024, with a minimum value of 0 and a maximum value defined by the model's capabilities.

height

The height parameter is an integer input that specifies the height of the generated image. Similar to the width parameter, this value is used to calculate the target dimensions for the base and refiner models. The default value is typically set to 1024, with a minimum value of 0 and a maximum value defined by the model's capabilities.

Prompt With SDXL (Mikey) Output Parameters:

sdxl_pos_cond

The sdxl_pos_cond output parameter provides the conditioning data generated from the positive prompt. This data is used by the AI model to guide the generation process towards producing images that align with the positive description provided.

sdxl_neg_cond

The sdxl_neg_cond output parameter provides the conditioning data generated from the negative prompt. This data is used by the AI model to steer the generation process away from producing images that align with the negative description provided.

refiner_pos_cond

The refiner_pos_cond output parameter provides the refined conditioning data generated from the positive prompt. This data is used by the refiner model to further enhance the quality and stylistic consistency of the generated images.

refiner_neg_cond

The refiner_neg_cond output parameter provides the refined conditioning data generated from the negative prompt. This data is used by the refiner model to further steer the generation process away from producing images that align with the negative description provided.

pos_prompt_

The pos_prompt_ output parameter returns the processed positive prompt after stripping away unnecessary syntax. This cleaned prompt is used for encoding and generating conditioning data.

neg_prompt_

The neg_prompt_ output parameter returns the processed negative prompt after stripping away unnecessary syntax. This cleaned prompt is used for encoding and generating conditioning data.

Prompt With SDXL (Mikey) Usage Tips:

  • Ensure your positive and negative prompts are clear and descriptive to achieve the best results.
  • Use the seed parameter to control the randomness and achieve reproducible results.
  • Adjust the width and height parameters to match the desired dimensions of your generated images.
  • Experiment with different styles by modifying the style parameter if supported by the underlying model.

Prompt With SDXL (Mikey) Common Errors and Solutions:

"Invalid prompt format"

  • Explanation: This error occurs when the provided prompt contains unsupported syntax or characters.
  • Solution: Ensure that your prompts are clear and free of any special characters or unsupported syntax.

"Dimension out of range"

  • Explanation: This error occurs when the specified width or height exceeds the model's maximum resolution.
  • Solution: Adjust the width and height parameters to values within the supported range of the model.

"Seed value not an integer"

  • Explanation: This error occurs when the seed value provided is not an integer.
  • Solution: Ensure that the seed parameter is set to an integer value to control the randomness effectively.

Prompt With SDXL (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.