ComfyUI Node
Prompt Section (MRLN)
One library section as a standalone node: pick an item or roll the dice. Outputs the item text and negative for graph-native prompt composition — wire several Prompt Section nodes into any text-combine or third-party builder node. Folder scopes (e.g. 'location') draw across every section beneath them.
Prompt Section (MRLN)
- text
- negative
- choice
◄section▾►
◄item▾►
◄seed0►
◄allow_emptyfalse►
CategoryMRLN/prompt
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| section | COMBO | Section or folder scope. Folder entries (e.g. 'location') mean the union of every section beneath them. | |
| item | COMBO | Item to render, listed as 'section-path/item-name' (searchable — type the section name to filter). Must lie inside the chosen scope. '🎲 random' draws from it using the seed. | |
| seed | INT | 00–18446744073709550000 | Seed for the 🎲 random draw. Identical section + seed always draws the same item; vary the seed for a different draw. |
| allow_empty | BOOLEAN | false | When rolling 🎲 random, allow 'nothing' as one weighted outcome (empty text output) — for optional add-on sections. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| text | STRING | The selected/drawn item text (inline {a|b} wildcards resolved). |
| negative | STRING | The item's negative plus the section-level negative, as a plain string. |
| choice | STRING | The name of the item that was selected or drawn (empty when omitted). |