ComfyUI Node
Text Reorder
Reorders prompt text sections (comma/sentence/paragraph) while preserving parenthesis-enclosed blocks; supports seeded shuffle and distance constraints.
Text Reorder
- reordered_text
- section_info
◄text►
◄reorder_modecomma►
◄seed0►
◄completely_randomtrue►
◄distance_constrainedfalse►
◄max_distance2►
Categoryillumorae
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| reorder_mode | COMBO | comma | 3 options: paragraph, sentence, comma |
| seed | INT | 00–18446744073709550000 | — |
| completely_random | BOOLEAN | true | — |
| distance_constrained | BOOLEAN | false | — |
| max_distance | INT | 21–20 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| reordered_text | STRING | — |
| section_info | STRING | — |