ComfyUI Config Presets
what is this?
Custom nodes for ComfyUI that allow saving and using presets for different models. This is similar to Config Presets extention and prompot styles in A1111/Forge.
Nodes
- Preset Prompt Loader 🗂️: Allows selecting presets for positive and negative prompts. The text from the presets will be combined with your own prompt. It acts like prompt styles in A1111/Forge.
- Preset Prompt Saver 💾: Allows saving prompt presets to the json file for later use.
- Preset Settings Loader ⚙️: Allows selecting generation presets for resolution, steps, cfg, ...
- Preset Settings Saver 📝: Allows saving generation presets to the json file for later use.
Installation
install with ComfyUI Manager or just clone this repository to your custom_nodes folder.
How to use
-
Preset Loaders are pretty much straightforwad. just select a preset and connect the outputs.
-
Preset Savers must be used standalone. just set the values and click on "execute" button (blue button in image below).
-
You must refresh the page to see the new presets in prompt loader node.
-
If you add {prompt} anywhere in the text for prompt saver, it will be replaced with your input prompt when you use it later. If you don't add it, your input prompt will be simply added to the end of the preset text with a space.
-
You can manually edit the json files in
\ComfyUI\custom_nodes\ComfyUI-Config-Presetsto add/edit/remove the presets.