Nodes/Dream Video Batches/✍ Text Input
ComfyUI Node

✍ Text Input

Just a text box β€” but it's the text box this pack expects

By alt-key-projectΒ·Created 3 years agoΒ·Updated 8 months agoΒ· 95
✍ Text Input
    • STRING
    β—„valueβ–Ί

    Text Input [DVB] is the most boring node in the Dream Video Batches pack, and that's fine. It's a multiline text box that outputs whatever you typed as a string. No processing, no templates, no magic. value goes in, a STRING comes out. If that sounds like the built-in primitive string node, it basically is - with one difference that matters when you're building in this pack: it's a named, typed node from the same family as everything else, which keeps your prompt text, paths, and expressions as tidy little labeled boxes instead of anonymous primitive widgets scattered across the graph.

    Why it exists

    The pack's author ships a full family of these - Text Input, String Input, Int Input, Float Input - and the honest purpose is workflow hygiene. When you've got a big frame-set pipeline with fades, calculations, and a file loop, having one node titled "Prompt" and another titled "Output prefix" makes the graph readable in a way that a row of bare primitives doesn't. It's the same instinct that makes rgthree's Power Prompt such a fixture in big workflows: structure beats widget soup.

    There's a functional angle too. This pack uses strings in a few surprising places - the For Each Filename loop's directory and pattern, the Calculation node's expression - and feeding those from a named Text Input rather than reaching for the primitive makes the whole graph easier to rewire and share. If someone loads your workflow, a titled node tells them what belongs there.

    The honest take

    If you don't already miss it, you don't need it. But it costs nothing, it's stable, and it slots into the pack's own conventions. The multiline flag is the one real difference from its sibling String Input [DVB], which is single-line. Use Text Input for prompts, captions, or anything that wraps; use String Input for one-liners like paths and pattern strings.

    Install

    Identical to every node in this pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/alt-key-project/comfyui-dream-video-batches.git
    cd comfyui-dream-video-batches
    pip install -r requirements.txt
    

    Then restart ComfyUI. Manager users can search "Dream Video Batches" instead. There are no model files or heavy dependencies to worry about - the pack's requirements are imageio, pilgram, scipy, numpy, torchvision, and evalidate, all pip-installable.

    One thing to remember if you feed this into another node in the pack: strings are strings, so a Text Input output plugs into any STRING input in the pack without ceremony. Where people get confused is the other direction - a pack-specific output like filepath from For Each Filename is also just a string, so if you want to route it into a titled box for display, you're better off using the value directly than copying it by hand. The node doesn't do anything clever; it's a place to put text you want to see and reuse.

    Category🎭 DVB/πŸ›  utils

    Inputs (1)

    NameTypeDefaultDescription
    valueSTRINGβ€”

    Outputs (1)

    NameTypeDescription
    STRINGSTRINGβ€”