Nodes Browser
ComfyDeploy: How comfyui-prompt-composer works in ComfyUI?
What is comfyui-prompt-composer?
A suite of tools for prompt management. Combining nodes helps the user sequence strings for prompts, also creating logical groupings if necessary. Individual nodes can be chained together in any order.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
comfyui-prompt-composer
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI Prompt Composer
A suite of tools for prompt management.
If this project is useful to you and you like it, please consider a small donation to the author.
➡️ https://ko-fi.com/stefanoflore75
Buy my workflows:
➡️ https://stefanoflore.it/download/
Overview
Basic workflow for testing the nodes: prompt-composer-base-workflow.json
Install from ComfyUI Manager
- Type florestefano1975 on the search bar of ComfyUI Manager.
- Click the install button.
Manual installation and update instructions
Install
To install comfyui-prompt-composer:
- open the terminal on the ComfyUI installation folder
- digit:
cd custom_nodes
- digit:
git clone https://github.com/florestefano1975/comfyui-prompt-composer
- start/restart ComfyUI
Update
To update comfyui-prompt-composer:
- open the terminal on the comfyui-prompt-composer folder
- digit:
cd custom_nodes
- digit:
cd comfyui-prompt-composer
- digit:
git pull
- start/restart ComfyUI
Warning: before the update create a backup of the TXT files contained in the custom-list folders.
Node List
- Custom Lists Node: this node reads the lists contained in the custom-lists folder and creates a selector/weight pair for each.
- Single Text Node: contains a typing box and a slider to adjust its weight.
- Multiple Text Node: contains six typing boxes with sliders to adjust their weights.
- Grouping Node: encapsulates the input concatenated strings in brackets () and assigns a weight to the group.
- Merge Node: this node joins two text strings.
Single Text Node, Multiple Text Node, Styler Node, Effect Node and Grouping Node have an entry point (text_in_opt) to concatenate unlimitedly with the other nodes, and active switch option for fast by-pass.
Custom Lists Node
Create the TXT files in the custom-lists folder and insert the selector entries into each of them. You can create lists with simple items or libraries with entire prompts, so you can reuse and combine them as you like.
Important: changes inserted into the custom lists folder require restarting ComfyUI.
Deprecated Nodes
Nodes Effect and Styler are deprecated and will not receive future updates.
Usage
Combining nodes helps the user sequence strings for prompts, also creating logical groupings if necessary.
- Individual nodes can be chained together, in any order.
- All text_outs are simple text strings. You can also use nodes with other plugins.
- Slider weights set to 1 do not encapsulate the related text in parentheses ().
Customization
The lists folder contains TXT files with Style and Effect node list entries.
SDXL Turbo Workflow
In the workflow folder you can download and use an SDXL Turbo configuration with some of the custom nodes already inserted and ready to use.
Notes
For advanced photorealism we recommend FormulaXL 2.0.