Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance AI art generation by encoding positive and negative textual prompts for precise control over creative outputs.
The CLIP Positive-Negative XL w_Text (WLSH) node is designed to enhance your AI art generation by leveraging the power of CLIP (Contrastive Language-Image Pre-Training) to encode both positive and negative textual prompts. This node allows you to input detailed descriptions for both desired and undesired elements in your artwork, which the CLIP model then processes to generate conditioning data. This conditioning data can be used to guide the AI in creating images that align closely with your artistic vision, ensuring that the generated content adheres to the specified positive attributes while avoiding the negative ones. The node is particularly useful for fine-tuning the aesthetic and thematic elements of your AI-generated art, making it a valuable tool for artists looking to achieve precise control over their creative outputs.
This parameter expects a CLIP model instance. The CLIP model is responsible for encoding the provided textual prompts into a format that can be used for conditioning the AI art generation process. The model interprets the text and generates embeddings that represent the semantic content of the prompts.
This is a string parameter where you input the global positive text prompt. This prompt should describe the elements or attributes you want to be prominently featured in the generated artwork. The text can be multiline, allowing for detailed descriptions. There is no explicit minimum or maximum length, but more detailed prompts can provide better guidance to the model.
This is a string parameter for the local positive text prompt. Similar to positive_g
, this prompt should describe specific elements or attributes you want to include in the artwork. The local prompt can be used to add finer details or additional context to the global positive prompt. It also supports multiline input.
This is a string parameter where you input the global negative text prompt. This prompt should describe the elements or attributes you want to avoid in the generated artwork. The text can be multiline, allowing for detailed descriptions. There is no explicit minimum or maximum length, but more detailed prompts can help the model better understand what to exclude.
This is a string parameter for the local negative text prompt. Similar to negative_g
, this prompt should describe specific elements or attributes you want to exclude from the artwork. The local prompt can be used to add finer details or additional context to the global negative prompt. It also supports multiline input.
This integer parameter specifies the width of the generated image. The default value is 1024, with a minimum value of 0 and a maximum value defined by the system's maximum resolution capability. Adjusting this parameter will affect the resolution and aspect ratio of the final output.
This integer parameter specifies the height of the generated image. The default value is 1024, with a minimum value of 0 and a maximum value defined by the system's maximum resolution capability. Adjusting this parameter will affect the resolution and aspect ratio of the final output.
This integer parameter specifies the width of the crop area. The default value is 0, meaning no cropping will be applied. Adjusting this parameter allows you to focus on a specific region of the generated image.
This integer parameter specifies the height of the crop area. The default value is 0, meaning no cropping will be applied. Adjusting this parameter allows you to focus on a specific region of the generated image.
This integer parameter specifies the target width for the final output. The default value is twice the width parameter, allowing for upscaling. Adjusting this parameter can help achieve the desired resolution for the final image.
This integer parameter specifies the target height for the final output. The default value is twice the height parameter, allowing for upscaling. Adjusting this parameter can help achieve the desired resolution for the final image.
This output provides the conditioning data for the positive text prompts. It includes the encoded representations of the global and local positive prompts, which guide the AI in generating images that align with the specified positive attributes.
This output provides the conditioning data for the negative text prompts. It includes the encoded representations of the global and local negative prompts, which guide the AI in avoiding the specified negative attributes in the generated images.
This output returns the combined positive text prompt, which is a concatenation of the global and local positive prompts. This combined text provides a comprehensive description of the desired elements in the artwork.
This output returns the combined negative text prompt, which is a concatenation of the global and local negative prompts. This combined text provides a comprehensive description of the elements to be avoided in the artwork.
clip
parameter is missing or not correctly specified.© Copyright 2024 RunComfy. All Rights Reserved.