Nodes/ComfyUI-Hypnodes/Hypnodes Prompt
ComfyUI Node

Hypnodes Prompt

The text field that stays editable when the Library injects into it

By hypnichorse·Created 3 months ago·Updated 16 days ago· 0
Hypnodes Prompt
    • prompt
    prompt
    incoming

    If you've used the Hypnodes Character Library, you know the annoyance this node exists to fix. When the Library injects text into an ordinary text node, that node's widget becomes a passthrough display - grayed out, locked, impossible to edit without rewiring. The Hypnodes Prompt field is designed to receive injections and stay fully editable, so you can see what was injected and tweak it by hand before the graph runs.

    What it is

    Just about the simplest node in the pack, structurally:

    • prompt (STRING, multiline) - the main text field. This is the widget the Library injects into.
    • incoming (STRING, optional, forced input) - an optional wire-in port for text from elsewhere.
    • prompt output (STRING) - passes the field's text onward.

    Mechanically it's a pass-through: the value in the prompt widget is what comes out of the output. The frontend adds one behavior worth knowing - after a graph run, it syncs any incoming value into the widget itself, so the box always shows the text that's actually being used rather than a stale edit.

    How it plays with the Library

    Remember the injection rules from the Character Library? Direct connections match by keyword (body, outfit, positive, negative), and subgraph targets must be titled exactly "Body", "Outfit", "Prompt", or "Negative". This node is the natural target for those injections - particularly the "Prompt" title, which receives the combined positive, or "Negative" for the combined negative. Wire a Library output into it, and you get a box you can still edit, even when the injection system is pushing data into it or it's buried inside a subgraph.

    When you'd reach for it

    Three situations:

    1. You want the Library's auto-inject convenience but still want to hand-tune prompts per run. This node is the editable landing pad.
    2. You're using subgraphs and need a reliable, correctly-named text widget for the Library's strict-naming mode.
    3. You just want a plain multiline text field that survives graph re-runs without ComfyUI turning it into a display-only node.

    The caveat

    It's a utility, not a feature. If you're not using the Library's injection system, it's functionally a fancier text box - a stock text node does the same job. It earns its place when you're deep in the Hypnodes library workflow and want injections you can still control by hand. Also note there's no built-in token/wildcard processing; what you type is what gets encoded.

    Install

    ComfyUI Manager (search Hypnodes) or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/hypnichorse/ComfyUI-Hypnodes
    

    Restart ComfyUI. No model downloads, no extra dependencies beyond what ComfyUI ships.

    CategoryHypnodes/Library

    Inputs (2)

    NameTypeDefaultDescription
    promptSTRING
    incomingoptSTRING

    Outputs (1)

    NameTypeDescription
    promptSTRING