ComfyUI > Nodes > ComfyUI_CGAnimittaTools > CGA_NegativeSelector

ComfyUI Node: CGA_NegativeSelector

Class Name

CGA_NegativeSelector

Category
CGAnimittaTools
Author
CGAnimitta (Account age: 898days)
Extension
ComfyUI_CGAnimittaTools
Latest Updated
2025-04-11
Github Stars
0.04K

How to Install ComfyUI_CGAnimittaTools

Install this extension via the ComfyUI Manager by searching for ComfyUI_CGAnimittaTools
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_CGAnimittaTools 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

CGA_NegativeSelector Description

Enhance AI art generation by managing negative prompts for refined and precise artistic outcomes.

CGA_NegativeSelector:

The CGA_NegativeSelector node is designed to enhance the creative process in AI art generation by allowing you to effectively manage and manipulate negative prompts. This node is particularly useful in scenarios where you want to refine the output by specifying what should not be included in the generated content. By providing a mechanism to select and apply negative prompts, the node helps in achieving more precise and desired artistic outcomes. It is an essential tool for artists who wish to have greater control over the elements that are excluded from their AI-generated artworks, thereby enhancing the overall quality and relevance of the output.

CGA_NegativeSelector Input Parameters:

model

The model parameter specifies the AI model that will be used for processing the prompts. It is crucial as it determines the capabilities and limitations of the generation process. The choice of model can significantly impact the style and quality of the output.

positive

The positive parameter represents the conditioning or prompts that you want to include in the generated content. It serves as a guide for the model to focus on specific elements or themes that are desired in the final output.

negative

The negative parameter is used to define the conditioning or prompts that should be excluded from the generated content. This helps in refining the output by preventing certain elements from appearing, thus ensuring that the final artwork aligns with your creative vision.

empty_conditioning

The empty_conditioning parameter acts as a placeholder for scenarios where no specific negative prompts are provided. It ensures that the node can function smoothly even when the negative prompts are not explicitly defined.

cfg

The cfg parameter, short for "configuration," is a floating-point value that influences the strength of the conditioning applied to the model. It allows you to adjust the balance between the positive and negative prompts, with a default value of 8.0, a minimum of 0.0, and a maximum of 100.0. This parameter is crucial for fine-tuning the output to achieve the desired artistic effect.

neg_scale

The neg_scale parameter is a floating-point value that specifically adjusts the influence of the negative prompts. With a default value of 1.0, a minimum of 0.0, and a maximum of 100.0, it provides you with the flexibility to control how strongly the negative prompts affect the generation process, allowing for more precise and tailored results.

CGA_NegativeSelector Output Parameters:

guider

The guider output is a specialized object that encapsulates the configured guidance settings based on the provided positive and negative prompts. It plays a crucial role in directing the model during the generation process, ensuring that the output adheres to the specified artistic constraints and preferences.

CGA_NegativeSelector Usage Tips:

  • Experiment with different cfg and neg_scale values to find the optimal balance for your specific artistic goals. A higher cfg value can lead to more pronounced effects of the positive prompts, while adjusting neg_scale can help fine-tune the exclusion of unwanted elements.
  • Use the empty_conditioning parameter to maintain flexibility in your workflow, allowing you to easily switch between scenarios with and without specific negative prompts.

CGA_NegativeSelector Common Errors and Solutions:

"Invalid model type"

  • Explanation: This error occurs when the specified model is not compatible with the node's requirements.
  • Solution: Ensure that you are using a model that is supported by the CGA_NegativeSelector node. Check the documentation for compatible model types.

"Negative prompt not defined"

  • Explanation: This error indicates that the negative prompt parameter is missing or not properly set.
  • Solution: Make sure to provide a valid negative prompt or use the empty_conditioning parameter to handle cases where no specific negative prompt is needed.

"CFG value out of range"

  • Explanation: The cfg parameter value is outside the acceptable range.
  • Solution: Adjust the cfg value to be within the specified range of 0.0 to 100.0 to ensure proper functioning of the node.

CGA_NegativeSelector Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_CGAnimittaTools
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.