ComfyUI > Nodes > Primere nodes for ComfyUI > Primere Refiner Prompt

ComfyUI Node: Primere Refiner Prompt

Class Name

PrimereRefinerPrompt

Category
Primere Nodes/Inputs
Author
CosmicLaca (Account age: 3656days)
Extension
Primere nodes for ComfyUI
Latest Updated
2024-06-23
Github Stars
0.08K

How to Install Primere nodes for ComfyUI

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

Primere Refiner Prompt Description

Enhance and refine AI art prompts with control over strengths and combinations for precise outputs.

Primere Refiner Prompt:

The PrimereRefinerPrompt node is designed to enhance and refine text prompts used in AI art generation workflows. This node allows you to fine-tune both positive and negative prompts by adjusting their strengths and combining them with original prompts. The primary goal of this node is to provide more control over the prompt refinement process, enabling you to achieve more precise and desired outputs in your AI-generated art. By leveraging this node, you can manipulate the weight and influence of different prompt components, ensuring that the final prompt aligns closely with your artistic vision.

Primere Refiner Prompt Input Parameters:

extra_pnginfo

This parameter contains additional metadata information about the image, including the workflow details. It is used to extract relevant data for refining the prompt. There are no specific minimum, maximum, or default values for this parameter as it depends on the metadata provided.

id

The unique identifier for the node within the workflow. This ID is used to locate and process the specific node's data. There are no specific minimum, maximum, or default values for this parameter.

clip

The CLIP model used for encoding the refined prompts. This parameter is essential for generating the final embeddings and pooled outputs. There are no specific minimum, maximum, or default values for this parameter.

seed

A numerical value used to ensure reproducibility of the prompt refinement process. The seed helps in generating consistent results across different runs. There are no specific minimum, maximum, or default values for this parameter.

token_normalization

A boolean parameter that indicates whether token normalization should be applied during the encoding process. This helps in standardizing the token weights. The default value is typically True.

weight_interpretation

A boolean parameter that determines whether weight interpretation should be applied to the tokens. This helps in adjusting the influence of different tokens in the prompt. The default value is typically True.

positive_refiner

A string parameter containing the positive prompt to be refined. This prompt is enhanced based on the specified strength. The default value is an empty string.

negative_refiner

A string parameter containing the negative prompt to be refined. This prompt is enhanced based on the specified strength. The default value is an empty string.

positive_original

A string parameter containing the original positive prompt. This prompt is combined with the refined positive prompt based on the specified strength. The default value is None.

negative_original

A string parameter containing the original negative prompt. This prompt is combined with the refined negative prompt based on the specified strength. The default value is None.

positive_refiner_strength

A numerical value indicating the strength of the positive refiner prompt. This value adjusts the influence of the refined positive prompt. The default value is 1.

negative_refiner_strength

A numerical value indicating the strength of the negative refiner prompt. This value adjusts the influence of the refined negative prompt. The default value is 1.

positive_original_strength

A numerical value indicating the strength of the original positive prompt. This value adjusts the influence of the original positive prompt when combined with the refined prompt. The default value is 1.

negative_original_strength

A numerical value indicating the strength of the original negative prompt. This value adjusts the influence of the original negative prompt when combined with the refined prompt. The default value is 1.

Primere Refiner Prompt Output Parameters:

final_positive

The final refined positive prompt after combining and adjusting the strengths of the positive refiner and original prompts. This output is used to guide the AI model in generating the desired positive aspects of the artwork.

final_negative

The final refined negative prompt after combining and adjusting the strengths of the negative refiner and original prompts. This output is used to guide the AI model in avoiding or minimizing the undesired aspects of the artwork.

Primere Refiner Prompt Usage Tips:

  • Adjust the positive_refiner_strength and negative_refiner_strength parameters to fine-tune the influence of the refined prompts. Lower values will reduce their impact, while higher values will increase it.
  • Combine the refined prompts with original prompts using the positive_original and negative_original parameters to create a more balanced and nuanced final prompt.
  • Use the seed parameter to ensure reproducibility of your results, especially when experimenting with different prompt refinements.

Primere Refiner Prompt Common Errors and Solutions:

"No workflow data found in extra_pnginfo"

  • Explanation: This error occurs when the extra_pnginfo parameter does not contain the necessary workflow metadata.
  • Solution: Ensure that the extra_pnginfo parameter is correctly populated with the workflow metadata before passing it to the node.

"Invalid node ID"

  • Explanation: This error occurs when the id parameter does not match any node in the workflow.
  • Solution: Verify that the id parameter is correctly set to the unique identifier of the node you intend to process.

"CLIP model not provided"

  • Explanation: This error occurs when the clip parameter is missing or not properly set.
  • Solution: Ensure that the clip parameter is provided and correctly references the CLIP model to be used for encoding.

"Invalid strength values"

  • Explanation: This error occurs when the strength parameters (positive_refiner_strength, negative_refiner_strength, positive_original_strength, negative_original_strength) are set to invalid values.
  • Solution: Ensure that the strength parameters are set to valid numerical values, typically between 0 and 1.

Primere Refiner Prompt Related Nodes

Go back to the extension to check out more related nodes.
Primere nodes for ComfyUI
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.