ComfyUI  >  Nodes  >  One Button Prompt >  Create Prompt Variant

ComfyUI Node: Create Prompt Variant

Class Name

CreatePromptVariant

Category
OneButtonPrompt
Author
AIrjen (Account age: 497 days)
Extension
One Button Prompt
Latest Updated
8/13/2024
Github Stars
0.8K

How to Install One Button Prompt

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

Create Prompt Variant Description

Generate creative text prompt variations with adjustable deviation levels using `CreatePromptVariant` node for AI artists.

Create Prompt Variant:

The CreatePromptVariant node is designed to help you generate creative variations of a given text prompt. This node is particularly useful for AI artists who want to explore different artistic interpretations or styles based on a single prompt. By adjusting the level of variation, you can control how much the new prompt deviates from the original, allowing for a range of outputs from subtle tweaks to wild, imaginative transformations. This node leverages a method called Comfy_OBP_PromptVariant to create these variations, making it a powerful tool for enhancing your creative workflow.

Create Prompt Variant Input Parameters:

prompt_input

This is the main text prompt that you want to create variations of. It is a required parameter and should be provided as a string. The prompt can be multiline, allowing for more complex and detailed inputs. The default value is an empty string.

insanitylevel

This optional parameter controls the degree of variation applied to the original prompt. It is an integer value that ranges from 1 to 10, with 1 being the least amount of variation and 10 being the most. The default value is 5. Adjusting this parameter allows you to fine-tune the creativity and unpredictability of the generated prompt variants.

seed

This optional parameter is an integer used to initialize the random number generator, ensuring reproducibility of the generated prompt variants. The seed value can range from 0 to 0xFFFFFFFFFFFFFFFF. The default value is 0, which means the seed is not set, and the variations will be different each time the node is run.

Create Prompt Variant Output Parameters:

prompt

The output is a single string that represents the generated prompt variant. This new prompt is a creative reinterpretation of the original input prompt, modified according to the specified insanitylevel. The output can be used directly in your creative projects or further refined as needed.

Create Prompt Variant Usage Tips:

  • Experiment with different insanitylevel values to find the right balance of creativity and coherence for your project.
  • Use the seed parameter to generate consistent results when you find a variation you particularly like.
  • Combine this node with other prompt-enhancing nodes to create even more diverse and interesting outputs.

Create Prompt Variant Common Errors and Solutions:

"Invalid prompt input"

  • Explanation: This error occurs when the prompt_input parameter is not provided or is not a string.
  • Solution: Ensure that you provide a valid string for the prompt_input parameter.

"Insanity level out of range"

  • Explanation: This error occurs when the insanitylevel parameter is set to a value outside the allowed range of 1 to 10.
  • Solution: Adjust the insanitylevel parameter to be within the range of 1 to 10.

"Seed value out of range"

  • Explanation: This error occurs when the seed parameter is set to a value outside the allowed range of 0 to 0xFFFFFFFFFFFFFFFF.
  • Solution: Ensure that the seed parameter is within the valid range.

Create Prompt Variant Related Nodes

Go back to the extension to check out more related nodes.
One Button Prompt
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.