ComfyUI  >  Nodes  >  Primere nodes for ComfyUI >  Primere Prompt Switch

ComfyUI Node: Primere Prompt Switch

Class Name

PrimerePromptSwitch

Category
Primere Nodes/Dashboard
Author
CosmicLaca (Account age: 3656 days)
Extension
Primere nodes for ComfyUI
Latest Updated
6/23/2024
Github Stars
0.1K

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 Cloud 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 Prompt Switch Description

Dynamically switch between prompt configurations for AI artists to streamline prompt management and enhance artistic outcomes.

Primere Prompt Switch:

The PrimerePromptSwitch node is designed to dynamically select and switch between different prompt configurations based on a specified index. This node is particularly useful for AI artists who need to manage multiple prompt variations and prefer a streamlined way to switch between them without manually adjusting each prompt. By leveraging this node, you can efficiently organize and select positive and negative prompts, as well as preferred settings, ensuring a more flexible and efficient workflow. The main goal of the PrimerePromptSwitch is to enhance the prompt management process, making it easier to experiment with different prompt combinations and achieve the desired artistic outcomes.

Primere Prompt Switch Input Parameters:

select

The select parameter is an integer that determines which set of prompts and preferred settings to use. It allows you to choose from a range of 1 to 20, with a default value of 1. This parameter is crucial as it directly impacts which prompt configuration is selected and used by the node. By adjusting the select value, you can quickly switch between different prompt setups, facilitating a more dynamic and responsive creative process.

prompt_pos_1 (optional)

The prompt_pos_1 parameter is an optional input that represents the positive prompt for the first configuration. This parameter is of type AnyType, meaning it can accept any string value. It is used to define the positive aspects or elements you want to emphasize in your generated content.

prompt_neg_1 (optional)

The prompt_neg_1 parameter is an optional input that represents the negative prompt for the first configuration. Similar to prompt_pos_1, this parameter is of type AnyType and can accept any string value. It is used to specify the negative aspects or elements you want to avoid in your generated content.

preferred_1 (optional)

The preferred_1 parameter is an optional input that represents the preferred settings for the first configuration. This parameter is also of type AnyType and can accept any string value. It is used to define additional preferences or settings that should be considered when generating content.

Primere Prompt Switch Output Parameters:

PROMPT+

The PROMPT+ output parameter provides the selected positive prompt based on the select index. This output is crucial for generating content that aligns with the specified positive aspects or elements.

PROMPT-

The PROMPT- output parameter provides the selected negative prompt based on the select index. This output helps in generating content that avoids the specified negative aspects or elements.

SELECTED_INDEX

The SELECTED_INDEX output parameter returns the integer value of the select parameter. This output is useful for tracking which prompt configuration was selected and used during the content generation process.

PREFERRED

The PREFERRED output parameter provides the selected preferred settings based on the select index. This output is important for applying additional preferences or settings to the generated content, ensuring it meets the desired criteria.

Primere Prompt Switch Usage Tips:

  • Use the select parameter to quickly switch between different prompt configurations, allowing you to experiment with various prompt combinations without manually changing each prompt.
  • Define multiple positive and negative prompts along with preferred settings to create a versatile set of configurations that can be easily managed and selected using the select parameter.

Primere Prompt Switch Common Errors and Solutions:

Primere Prompt Switch: invalid select index (ignored)

  • Explanation: This error occurs when the select parameter value does not correspond to any defined prompt configuration.
  • Solution: Ensure that the select parameter value is within the range of defined prompt configurations (1 to 20). Double-check that the corresponding positive, negative, and preferred prompts are properly defined for the selected index.

Primere Prompt Switch 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.