Nodes/LF Nodes/Wall of text
ComfyUI Node

Wall of text

Concatenate up to ten prompt fragments, optionally in a blender

By lucafoscili·Created 2 years ago·Updated 2 years ago· 50
Wall of text
  • ui_widget
  • string
  • string_list
separator,
text_1
text_2
text_3
text_4
text_5
text_6
text_7
text_8
text_9
text_10
shuffle_inputsfalse
seed42

Every prompt-builder eventually becomes a pile of text fragments you want to glue together: subject, style, lighting, the negative that never changes. WallOfText is the node that does the gluing - up to ten strings, joined with a separator, with a shuffle option that makes it a poor-man's dynamic prompt.

The name is the joke and the description. You feed it text_1 and text_2 (required, both multiline) plus up to eight more optional fragments, pick a separator (default ", " - change it to ", " for tags or \n if something downstream wants newlines), and it outputs one joined string. All the optional text inputs are defaultInput, so they can accept wires instead of just typed text.

The inputs that matter:

  • separator - what goes between fragments. ", " for prompt tags.
  • text_1text_10 - the fragments; first two required, rest optional.
  • shuffle_inputs - toggle to randomize the order.
  • seed - controls that shuffling so you can reproduce a given order.

Here's where it earns its keep: flip shuffle_inputs on and the node randomizes the fragment order on every run - change the seed and you get a different arrangement. That's the classic way people build lightweight prompt variation without a dedicated dynamic-prompting tool: keep the fragments stable, shuffle the order, and let the model interpret different sentence structures. It's not as powerful as a full wildcard system, but for "randomize the order of my prompt parts" it's zero-config.

Outputs are string and string_list - the single joined prompt and the same as a list type, for nodes that want a batch of one. Wire the string into a CLIP Text Encode and you're done.

Installing LF Nodes - same pack, same steps:

  • ComfyUI Manager → search "LF Nodes" → install → restart, or
  • cd ComfyUI/custom_nodes && git clone https://github.com/lucafoscili/comfyui-lf then restart.

Two things to keep straight. First, the repo is in legacy mode - frozen while development moved to lucafoscili/lf-nodes - and this node exists there under the same name. Second, shuffle_inputs is all-or-nothing: it shuffles all provided fragments, so if you want some fragments to always lead, keep them out of the shuffle path and put them in a fixed fragment instead. And remember the seed is what makes a shuffled order reproducible - same seed, same order, which matters when you're bisecting "it looked good with this arrangement."

Category✨ LF Nodes/Primitives

Inputs (14)

NameTypeDefaultDescription
separatorSTRING, Character(s) separating each string apart.
text_1STRINGThe first required string.
text_2STRINGThe second required string.
text_3optSTRINGThe third optional string.
text_4optSTRINGThe fourth optional string.
text_5optSTRINGThe fifth optional string.
text_6optSTRINGThe sixth optional string.
text_7optSTRINGThe seventh optional string.
text_8optSTRINGThe eighth optional string.
text_9optSTRINGThe ninth optional string.
text_10optSTRINGThe tenth optional string.
shuffle_inputsoptBOOLEANfalseToggle shuffling of input strings.
seedoptINT42Seed to control the randomness of the shuffling.
ui_widgetoptKUL_CODE

Outputs (2)

NameTypeDescription
stringSTRING
string_listSTRING