ComfyUI  >  Nodes  >  One Button Prompt >  One Button Preset

ComfyUI Node: One Button Preset

Class Name

OneButtonPreset

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

One Button Preset Description

Streamline AI art prompt generation with preset configurations for quick and creative outputs.

One Button Preset:

The OneButtonPreset node is designed to streamline the process of generating AI art prompts by leveraging predefined settings, or "presets," to enhance and customize the output. This node simplifies the prompt creation process by allowing you to select from a variety of preset configurations, which can include specific subjects, artists, and other stylistic elements. By using these presets, you can quickly generate complex and creative prompts without needing to manually input detailed parameters each time. The node also supports customization through prefix and suffix additions, enabling further refinement of the generated prompts. This makes it an invaluable tool for AI artists looking to efficiently produce high-quality and varied art prompts.

One Button Preset Input Parameters:

One Button Preset

This parameter allows you to select a predefined preset from a list of available options. Each preset contains specific settings that influence the generated prompt, such as the subject, artist, and other stylistic elements. Selecting "All (random)..." will choose a random preset, while "Custom..." allows for manual customization. This parameter significantly impacts the final output by determining the base configuration for the prompt.

seed

The seed parameter is used to initialize the random number generator, ensuring reproducibility of the generated prompts. By using the same seed value, you can generate identical prompts across different runs. This is particularly useful for comparing results or iterating on a specific prompt configuration. The seed value can be any integer.

base_model

This parameter specifies the base model to be used for generating the prompt. The base model serves as the foundation upon which the preset configurations are applied. Different base models can produce varying styles and qualities of prompts, so selecting the appropriate model is crucial for achieving the desired output.

prompt_enhancer

The prompt_enhancer parameter allows you to apply additional enhancements to the generated prompt. This can include various techniques to improve the quality, coherence, or creativity of the prompt. The specific enhancements applied depend on the implementation details of the prompt enhancer.

preset_prefix

This parameter allows you to add a custom prefix to the generated prompt. The prefix is prepended to the prompt generated by the selected preset, enabling you to introduce specific elements or styles at the beginning of the prompt. This can be useful for adding context or emphasizing certain aspects of the prompt.

preset_suffix

Similar to the preset_prefix, the preset_suffix parameter allows you to append a custom suffix to the generated prompt. The suffix is added to the end of the prompt generated by the selected preset, allowing you to introduce additional elements or styles at the conclusion of the prompt. This can help in refining the final output to better match your artistic vision.

One Button Preset Output Parameters:

generated_prompt

The generated_prompt parameter is the final output of the node, containing the complete prompt generated based on the selected preset and any custom prefix or suffix. This prompt can then be used as input for AI art generation models to create the desired artwork. The quality and style of the generated art will be influenced by the content of this prompt.

One Button Preset Usage Tips:

  • Experiment with different presets to quickly explore a variety of artistic styles and subjects.
  • Use the seed parameter to ensure reproducibility when you find a prompt configuration that you like.
  • Customize the prompt with prefix and suffix additions to fine-tune the output and better match your artistic vision.
  • Combine the OneButtonPreset node with other nodes in your workflow to create more complex and nuanced prompts.

One Button Preset Common Errors and Solutions:

"Preset not found"

  • Explanation: This error occurs when the selected preset name does not exist in the list of available presets.
  • Solution: Ensure that the preset name is correctly spelled and exists in the preset list. If using a custom preset, make sure it has been saved properly.

"Invalid seed value"

  • Explanation: This error occurs when the seed parameter is not a valid integer.
  • Solution: Ensure that the seed value is an integer. Avoid using non-numeric characters or special symbols.

"Base model not specified"

  • Explanation: This error occurs when the base_model parameter is not provided or is invalid.
  • Solution: Select a valid base model from the available options to ensure the prompt can be generated correctly.

"Prompt enhancer failed"

  • Explanation: This error occurs when the prompt_enhancer parameter encounters an issue during execution.
  • Solution: Check the implementation of the prompt enhancer and ensure it is compatible with the selected preset and base model.

One Button Preset 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.