Add-To-Prompt (Multi)
Ten switchable prompt addons on one node
- prompt
AUNAddToPromptMulti is the big sibling of AUNAddToPrompt, and it exists for the workflow that carries a small fleet of prompt addons - a style tag, a quality preamble, a LoRA trigger phrase, a negative-style corrective phrase - and wants to toggle them independently without a chain of ten nodes. It's displayed as "Add-To-Prompt (Multi)" and it packs up to ten addon slots into one node, each with its own text, its own on/off/random mode, and its own position before or after the main prompt.
The layout takes a second to get used to because every slot owns three widgets. For addon N you've got text_to_addN_mode (on/off/random, where random is a 50/50 per run), text_to_addN (the multiline text, dynamic-prompt capable), and orderN (place it before or after the main prompt). That's 30 widgets at full stretch, which sounds like a wall - which is why the node ships with a compact mode. Double-click the node body or right-click → "Compact mode" and the config widgets fold away into overlay checkboxes and order selectors, leaving you with a tidy little panel. That compact-mode obsession is the AUN house style; the pack's README pushes it hard.
Two inputs frame the whole thing. master_prompt is the optional base prompt all the addons get attached to (leave it unconnected if you're feeding the prompt in from elsewhere - wait, actually no: this node takes the master prompt as a widget string, so the base prompt lives here, and the single prompt output flows to your CLIP Text Encode). If you want a separate dynamic base prompt, chain this node after an AUNAddToPrompt or a text switcher instead of fighting the design. num_addons (1-10) controls how many slots are visible, so you only pay canvas space for the addons you actually use.
The workflow payoff is a prompt-roulette setup: keep three style addons with random mode on, hold a fixed quality preamble with mode = on, and every run produces a different combination - and because each slot records its state into the workflow's aun_pginfo (the pack's PNG-info sidecar), your saved filenames can tell you exactly which combination produced the image. If you're hunting for a style you can't name, that's the feature that makes the node worth it.
Mechanically it's a string concatenator with per-slot logic and randomness - nothing clever, which is the point; the cleverness is in the UI. Install it with the whole pack: ComfyUI Manager (search "AUN") or cd ComfyUI/custom_nodes && git clone https://github.com/loz2754/AUN-ComfyUI-Nodes, then restart. Dependency-light, no models, and if you cloned manually and see ModuleNotFoundError: piexif or cv2, pip install -r custom_nodes/AUN-ComfyUI-Nodes/requirements.txt fixes it.
Inputs (32)
| Name | Type | Default | Description |
|---|---|---|---|
| master_prompt | STRING | Optional master prompt to extend. | |
| num_addons | INT | 11–10 | Number of addon slots to show (1-10). |
| text_to_add1_mode | COMBO | off | Mode for addon 1: on=always add, off=never add, random=50/50 chance |
| text_to_add1 | STRING | Text to add (addon 1) | |
| order1 | COMBO | prompt_first | Order for addon 1 |
| text_to_add2_mode | COMBO | off | Mode for addon 2: on=always add, off=never add, random=50/50 chance |
| text_to_add2 | STRING | Text to add (addon 2) | |
| order2 | COMBO | prompt_first | Order for addon 2 |
| text_to_add3_mode | COMBO | off | Mode for addon 3: on=always add, off=never add, random=50/50 chance |
| text_to_add3 | STRING | Text to add (addon 3) | |
| order3 | COMBO | prompt_first | Order for addon 3 |
| text_to_add4_mode | COMBO | off | Mode for addon 4: on=always add, off=never add, random=50/50 chance |
| text_to_add4 | STRING | Text to add (addon 4) | |
| order4 | COMBO | prompt_first | Order for addon 4 |
| text_to_add5_mode | COMBO | off | Mode for addon 5: on=always add, off=never add, random=50/50 chance |
| text_to_add5 | STRING | Text to add (addon 5) | |
| order5 | COMBO | prompt_first | Order for addon 5 |
| text_to_add6_mode | COMBO | off | Mode for addon 6: on=always add, off=never add, random=50/50 chance |
| text_to_add6 | STRING | Text to add (addon 6) | |
| order6 | COMBO | prompt_first | Order for addon 6 |
| text_to_add7_mode | COMBO | off | Mode for addon 7: on=always add, off=never add, random=50/50 chance |
| text_to_add7 | STRING | Text to add (addon 7) | |
| order7 | COMBO | prompt_first | Order for addon 7 |
| text_to_add8_mode | COMBO | off | Mode for addon 8: on=always add, off=never add, random=50/50 chance |
| text_to_add8 | STRING | Text to add (addon 8) | |
| order8 | COMBO | prompt_first | Order for addon 8 |
| text_to_add9_mode | COMBO | off | Mode for addon 9: on=always add, off=never add, random=50/50 chance |
| text_to_add9 | STRING | Text to add (addon 9) | |
| order9 | COMBO | prompt_first | Order for addon 9 |
| text_to_add10_mode | COMBO | off | Mode for addon 10: on=always add, off=never add, random=50/50 chance |
| text_to_add10 | STRING | Text to add (addon 10) | |
| order10 | COMBO | prompt_first | Order for addon 10 |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |