One Button Prompt is now also a ComfyUI extension.
There are 8 nodes currently availabe, with One Button Prompt node being the main one. You can slam it in every workflow, where you replace it with the Positive Prompt node.
One Button Prompt is available in ComfyUI manager.
If you want to do a manual install, do the following steps:
Navigate to your ComfyUI\custom_nodes\ directory, and run the following command:
git clone https://github.com/AIrjen/OneButtonPrompt
This should create a OneButtonPrompt directory in the ComfyUI\custom_nodes\ folder.
It could look something like this
After that, restart ComfyUI, and you are ready to go.
In this project, there are some example workflows included.
All settings work similar to the settings in the Automatic1111 documentation.
It will generate a prompt from scratch, or based on several of your inputs and settings.
Please refer to the other documentation to see what each setting does.
Preset settings of One Button Prompt. Refer to One Button Presets for more information regarding the presets.
Has a simple prompt output and a preset selector. You can add new presets by manual adjusting the /userfiles/obp_presets.json JSON file.
One Button Artify works as an artist mixer for your prompt. Like SDXL styles, but for all artists known in Stable Diffusion.
It works best when adding a simple prompt.
It has the following settings to play with:
- Artist --> Selection of the style of artists to choose from.
- amount_of_artists --> Amount of artists to generate. Select random, for a choice between 1 and 3.
- artify_mode --> standard adds tags according to the chosen artist. remix chooses tags from different than the chosen artist. super remix turbo chooses wildly from a long list of tags.
vibrant art by Chiho Aoshima, Digital Art, cute norwegian forest cat, Superflat art movement, kawaii aesthetics, fantastical and surreal imagery, blending traditional Japanese motifs with contemporary themes, vibrant colors, otherworldly landscapes, sharp focus, dynamic, contemporary, full color, grand illumination
One Button Prompts lightweight implementation of Fooocus Prompt Magic. It will enhance the output by adding quality tags at the end of your prompt. See the example above.
It is standardly set to dynamic. You can turn it off by choosing none.
Choose short, medium or long for more direct control.
Don't reverse the polarity!
One Button prompts integration of the SuperPrompt-v1 model. This is a different implementation than NeuralSamurAI his node.
Its simple, type in what you want to see, and let it do its magic.
You can set the intended style with the superpromptstyle settings. 'All' will either do nothing or add a random style.
All other settings are controlled by the insanitylevel.
It works great in combination with One Button Artify
You can use the "Create Prompt Variant" node, to create variants based on a prompt you input. The strength of the variant is set with the "insanity level" slider. Simply connect it between the positive prompt and the CLIP encoder module.
It creates a small rift in subspace near your Central Processing Unit. Through this rift, it connects to various alternative universes where you are doing the exact same thing at the exact same time. It then flows their prompt to yours (and the other way around). This way, we get a slightly alternative prompt since it was from a slightly alternative universe. The prompt variant slider determines how many alternate universes away it should take the prompt from.
Here is an example of ComfyUI standard prompt "beautiful scenery nature glass bottle landscape, , purple galaxy bottle,"
These are all generated with the same model, same settings, same seed. But some of these have the Create Prompt Variant node included.
Here is an example of the entire example workflow.
Use the Save Prompt To File node to actually save the prompt in a text file. Since ComfyUI stores the entire flow in the image, it doesn't store the actual generated prompt.
You can also use other extension for this. But I thought it was nice to include a save options nativly. There are other options out there as well.
Just simply also connect the output of One Button Prompt to the Postive Prompt node.
The Auto Negative Prompt node, generates a negative prompt, based on the positive input. It can be used stand-alone as well, with any prompt field. It will try to enhance what was in the positive prompt. For example "anime" in the positive prompt, will add "photorealistic" in the negative prompt.
The following options are available:
base_negative --> Will be added onto the negative prompt
enhancenegative --> Will push a lot of quality enhancing terms into the negative prompt. Default value = 0
insanitylevel --> Larger numbers will randomly lower the amount of things in the negative prompt. Default value = 0
- There is a SEED option in the One Button Prompt node, this is a hacky thing. It is just there to make sure it is refired each time you generate an image.