Nodes/ComfyUI-EreNodes/Prompt Multiline
ComfyUI Node

Prompt Multiline

The plain-looking text box that powers the whole pack

By Erehr·Created about a year ago·Updated a day ago· 69
Prompt Multiline
    • STRING
    text
    prefix
    separator,\n\n

    ComfyUI's default text input is a bare box. You type, you squint at spelling, you pray the model knows that tag. Prompt Multiline is the upgraded version - a multiline STRING input with real autocomplete backed by actual tag dictionaries, alias resolution, and the tag-management machinery that the rest of the EreNodes pack is built on. It looks unremarkable next to the flashier Gallery node, but it's the one you'll use in every workflow, because it's the place prompts get typed.

    What it is

    The base editor of ComfyUI-EreNodes (Erehr's prompt-management pack, released mid-2025). All the other tag widgets - Toggle, Cloud, MultiSelect, Randomizer, Gallery - are the same engine rendering in different layouts; Multiline is the plain text view, and it's where you'd live for normal day-to-day prompting. The pack's README frames the whole collection around this node's features: smart autocomplete, tag groups, quick editing, and import/export.

    How it works

    The autocomplete is the headline. As you type, it queries the backend's /erenodes/search_tags endpoint, which searches the active CSV dictionary. The pack ships three: danbooru.csv, e621.csv, and danbooru_e621_merged.csv, in the __autocomplete__ folder (sourced from DraconicDragon's tag data). The active one is chosen in the pack's Settings, and you can drop your own CSV into that folder and select it - useful if you have a character or style vocabulary the stock lists don't cover. Suggestions match partial names and aliases, Tab/arrow keys navigate, Enter selects. Aliases resolve automatically to canonical tags as you type.

    Beyond autocomplete, the ≡ menu is where the power lives: Save as Tag Group (with an optional preview image, stored in the pack's __prompts__ folder), Load Tag Group, import/export for sharing, and quick-edit on right-click. The frontend also does the same tag-parsing as the siblings - LoRAs, embeddings, and groups all become pills, and click-dragging a tag adjusts its strength.

    Inputs and outputs

    • text - your multiline prompt.
    • prefix (optional) - a STRING prepended to the output.
    • Output - one STRING. Wire into CLIP Text Encode.

    Installing it

    ComfyUI Manager: search "EreNodes", install, restart. Manual:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Erehr/ComfyUI-EreNodes.git
    

    Restart; the nodes appear under EreNodes. The only declared Python dependency is safetensors (ships with ComfyUI) - this pack's real weight is in the frontend.

    Gotchas

    If autocomplete isn't suggesting anything, the first thing to check is the active CSV - no CSV selected in Settings means no suggestions. The tag data cache also invalidates on the mtime, so if you edit a CSV while ComfyUI is running, give it a reload. Tag groups are saved inside the pack directory, not your workflows folder, so back up __prompts__ if you move machines. And the author is explicit that wildcards are a non-goal - if you want __wildcard__ expansion, feed this node's output to a dedicated wildcard node downstream.

    CategoryEreNodes

    Inputs (3)

    NameTypeDefaultDescription
    textSTRING
    prefixoptSTRING
    separatoroptSTRING,\n\n

    Outputs (1)

    NameTypeDescription
    STRINGSTRING