Nodes/ComfyUI_tinyterraNodes/7x TXT Loader Concat
ComfyUI Node Runs on cloud

7x TXT Loader Concat

When you need to build a prompt from seven Lego blocks

By TinyTerraΒ·Created 3 years agoΒ·Updated 3 months agoΒ· 605
7x TXT Loader Concat
    • text1
    • text2
    • text3
    • text4
    • text5
    • text6
    • text7
    • concat
    β—„text1β–Ί
    β—„text2β–Ί
    β—„text3β–Ί
    β—„text4β–Ί
    β—„text5β–Ί
    β—„text6β–Ί
    β—„text7β–Ί
    β—„delimiter,β–Ί

    The 7x TXT Loader Concat is the textConcat of the same pack after drinking a lot of coffee: seven separate text boxes in one node, each of which also comes out as its own output, plus one concat output that joins whatever's filled in. It's for people who build prompts out of reusable chunks and got tired of counting boxes.

    The mental model: box 1 is your quality block, box 2 your character trigger, box 3 the pose, box 4 the environment, and so on. You can toggle each section in and out (just empty it) without rebuilding the prompt string, and because every box has a separate output you can also grab, say, just the character block and send it somewhere else. It's prompt-engineering as a checklist.

    How it works

    Seven multiline STRING inputs - text1 through text7 - plus one delimiter. All seven are also available as individual outputs (so the node doubles as a prompt-component source), and concat joins the non-empty boxes with the delimiter between them. Unlike the smaller textConcat, the join here skips empty boxes entirely - an empty box contributes nothing and adds no stray delimiter. That's what makes it behave like a toggling system: empty a box and the concat output cleanly drops that section.

    The delimiter defaults to a comma and accepts \n for a newline, same as the rest of the family.

    Inputs and outputs

    • text1 … text7 - the seven multiline boxes, all dynamic-prompt aware.
    • delimiter - what joins filled boxes. Default ,.
    • text1 … text7 - each box echoed as its own STRING output.
    • concat - the joined string, ready to feed a CLIP Text Encode, tinyConditioning, or pipeLoader prompt input.

    Installing it

    Part of the tinyterraNodes pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/TinyTerra/ComfyUI_tinyterraNodes.git
    

    or ComfyUI Manager β†’ search tinyterraNodes. No dependencies, no models, restart to activate.

    Gotchas

    The one thing that trips people: the empty-skip behavior is why you'd pick this over chaining three textConcats, but it also means a single empty box silently changes your prompt - if you empty box 3 expecting "quality, character, , pose" you instead get "quality, character, pose" with no marker. Fine for generation, but don't rely on it to produce stable exact strings if you're diffing prompts.

    Also, seven boxes is a lot of visual real estate. If that offends your workflow, the smaller 3x and 3-way variants in the same pack cover the common cases with less clutter. Reach for this one when you genuinely have that many stable chunks - wildcard-heavy anime workflows and multi-LoRA character setups are where it earns its space.

    Category🌏 tinyterra/text

    Inputs (8)

    NameTypeDefaultDescription
    text1STRINGβ€”
    text2STRINGβ€”
    text3STRINGβ€”
    text4STRINGβ€”
    text5STRINGβ€”
    text6STRINGβ€”
    text7STRINGβ€”
    delimiterSTRING,β€”

    Outputs (8)

    NameTypeDescription
    text1STRINGβ€”
    text2STRINGβ€”
    text3STRINGβ€”
    text4STRINGβ€”
    text5STRINGβ€”
    text6STRINGβ€”
    text7STRINGβ€”
    concatSTRINGβ€”