Nodes/ComfyUI-PromptsO/💀Prompts Input
ComfyUI Node

💀Prompts Input

A plain text input node — with one quiet feature that saves you from stale prompts

By S4MUEL-404·Created 11 months ago·Updated 10 months ago· 3
💀Prompts Input
    • text
    text
    trim_whitespacetrue
    remove_empty_linesfalse

    Let's be honest: 💀Prompts Input is the boring node in the 💀PromptsO pack. Around it you've got nodes that call LLM APIs and a node that runs a vision model locally. This one is a text box with two switches. It's also the node you'll actually slot into every workflow you save, because it fixes something that quietly annoys everyone.

    What it is

    A multiline STRING input with two formatting options:

    • trim_whitespace (on by default) - strips leading and trailing whitespace. This is the one that saves you, because pasting a prompt from anywhere adds trailing newlines, and a stray newline can split a prompt in weird ways downstream.
    • remove_empty_lines (off by default) - deletes blank lines from multiline text. Turn it on if you're pasting multi-line captions or batched text and want a single clean block.

    Output is a single STRING named text. That's the whole node. Nothing is invented, no params to configure - it's a pass-through with hygiene.

    The quiet feature that matters

    Here's the part worth your attention: the node's IS_CHANGED always reports a change, so ComfyUI re-executes it every run instead of trusting a cached result. ComfyUI's caching normally skips a node when its inputs haven't changed, and string widgets are exactly where that logic bites people - you edit a prompt, hit Queue, and downstream nodes run on the old text because ComfyUI decided nothing changed. A text node that refuses to cache sidesteps the entire class of "I changed my prompt and nothing happened" bugs.

    That makes it a sensible hub: put it at the top of a workflow as the single place a prompt enters, wire its output into your Combine, Replace, or text encoder, and you get one clean entry point that always re-runs. If you share workflows, it also gives people a labelled box to type into instead of hunting through node internals.

    Install and troubleshooting

    It ships with the pack, so install once:

    # ComfyUI Manager: search "PromptsO", install, restart.
    
    cd ComfyUI/custom_nodes
    git clone https://github.com/S4MUEL-404/ComfyUI-PromptsO.git
    pip install -r ComfyUI-PromptsO/requirements.txt
    

    Find it under the 💀PromptsO category. There's genuinely nothing to troubleshoot here - an empty input returns an empty string (the code logs a warning about it, but it doesn't error). The only "issue" you'd hit is expecting it to do more than it does. It doesn't format, it doesn't branch, it doesn't randomize. It's a clean text entry point with whitespace handling and a caching quirk that's actually in your favor.

    If you want a fancier prompt-engineering playground, this isn't it - but for a tidy, dependable input that always reflects your edits, it's hard to beat.

    Category💀PromptsO

    Inputs (3)

    NameTypeDefaultDescription
    textSTRINGText input for prompts
    trim_whitespaceoptBOOLEANtrueRemove leading and trailing whitespace
    remove_empty_linesoptBOOLEANfalseRemove empty lines from multiline text

    Outputs (1)

    NameTypeDescription
    textSTRING