ComfyUI Node

✍ Float Input

The primitive replacement that just works

By alt-key-projectΒ·Created 3 years agoΒ·Updated 2 years agoΒ· 114
✍ Float Input
    • FLOAT
    β—„value0.00β–Ί

    Some nodes are barely worth a paragraph, and this is one of them - in the best way. Float Input [Dream] is a single float field with a single FLOAT output. You type a number, it hands the number to whatever you connect. It exists because the Dream Project pack's author found ComfyUI's built-in primitive nodes unreliable for routing values in and out of his graphs, so he made his own. It's the node version of a sticky note.

    The one input

    • value - a FLOAT, default 0.0. That's the whole thing.

    The output is FLOAT, the value untouched. Unlike a text field, this one gives you a proper numeric output type on the wire - which matters in ComfyUI because you can't always convert between types mid-graph without a conversion node.

    Where it fits

    Anywhere you need a floating-point value that should be visible in the graph and wireable to multiple destinations. The pack's animation nodes are full of float parameters you'll want to share or drive - a zoom rate, a weight, a framerate factor - and having them as nodes rather than inline widgets means one value can feed several places and you can see at a glance what's doing what. Pair it with the pack's Boolean To Float or Calculation node and you can derive it, not just type it.

    Installing it

    Ships with Dream Project Animation Nodes - ComfyUI Manager (search Dream Project Animation) or clone https://github.com/alt-key-project/comfyui-dream-project into custom_nodes, pip install -r requirements.txt, restart. No model downloads.

    Common issues

    The only way this node can surprise you is if you expect it to do something. It doesn't - no clamping, no rounding, no conversion. If you need an integer, use the pack's Int Input instead of this, because handing a float to an INT-only input will just error at the wire. Otherwise, enjoy the most dependable node in the pack.

    Category✨ Dream/πŸ›  utils

    Inputs (1)

    NameTypeDefaultDescription
    valueFLOAT0.00β€”

    Outputs (1)

    NameTypeDescription
    FLOATFLOATβ€”