Nodes/Deno Custom Nodes/(Deno) Prompt Text
ComfyUI Node

(Deno) Prompt Text

Text in, text out, zero drama

By Deno2026·Created 5 months ago·Updated about 22 hours ago· 157
(Deno) Prompt Text
    • text
    text

    Sometimes the most useful node in a pack is the boring one. (Deno) Prompt Text is exactly one thing: a multiline text field with a STRING output. Type a prompt, a system prompt, a template, or a chunk of JSON into the node, and it becomes a wire you can connect to anything that accepts STRING. That's the entire job, and it's genuinely useful because ComfyUI's built-in text handling is so scattered.

    Why a plain text node earns its place

    ComfyUI has a weird relationship with text. Lots of nodes take STRING input but only some expose a text box you can type into, and the ones that do often don't give you a clean STRING output to chain elsewhere. (Deno) Prompt Text gives you a stable, multiline edit box plus a connectable text output, so you can:

    • Hold a long system prompt in one visible place and wire it into the (Deno) Local LLM Loader's system_prompt.
    • Keep a JSON template that feeds (Deno) Ideogram Director's import_json or any LLM that expects structured input.
    • Store a prompt you reuse across several CLIP-text-encode paths without duplicating it.

    The value is organizational, not computational: one source of truth, visible in the graph, editable without hunting through a node's collapsed widgets.

    Inputs and outputs

    • text (STRING) - the multiline content. That's it.
    • text (STRING) out - the same content as a connectable output.

    There are no settings to misconfigure, which makes this a fine first node to grab if you're just starting with the Deno pack and want something that cannot possibly break your workflow.

    Install

    It's part of the Deno Custom Nodes pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Deno2026/comfyui-deno-custom-nodes.git
    # restart ComfyUI
    

    No dependencies, no models, no server to run.

    Two honest notes. First, if all you need is a single text box feeding one node, ComfyUI's own text-input widgets usually suffice - this node shines when the same text needs to travel across the graph or into a STRING socket that the built-in widgets can't reach. Second, there are fancier text tools in the ecosystem that concatenate, slice, and apply wildcards; (Deno) Prompt Text deliberately does none of that. It's the foundation you build on top of, not the whole tower. When you find yourself needing to join two prompts or splice in a date, that's the signal to grab a dedicated text-utility pack - and you'll still keep this node around for the plain, dependable cases.

    CategoryDeno/Prompt

    Inputs (1)

    NameTypeDefaultDescription
    textSTRINGMultiline prompt, system prompt, template, or JSON text to connect into other nodes.

    Outputs (1)

    NameTypeDescription
    textSTRINGThe same text as a connectable STRING output.