ComfyUI Node
Meld Prompt Constructor
Randomly or sequentially loads prompts from text files in a specified directory. Features: - Comment removal (//, #, /* */) - Dynamic syntax {A|B} and weighting {0.1::rare|common} - Tags starting with a hyphen (-) are automatically assigned to negative prompts - Recursive file search
Meld Prompt Constructor
- positive_prompt
- negative_prompt
◄directory./my_prompts►
◄file_pattern*.txt►
◄seed0►
◄selection_methodrandom►
◄use_breaktrue►
CategoryMeld/Text
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| directory | STRING | ./my_prompts | — |
| file_pattern | STRING | *.txt | — |
| seed | INT | 00–18446744073709550000 | — |
| selection_method | COMBO | random | 2 options: random, sequential |
| use_break | BOOLEAN | true | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| positive_prompt | STRING | — |
| negative_prompt | STRING | — |