ComfyUI Node

1 Float

A clean single-value float source

By mirabarukaso·Created 2 years ago·Updated 5 days ago· 206
1 Float
    • float_1
    float_11.00

    1 Float is about as humble as nodes get: it's a single float value you can type in and wire out to anything that wants a FLOAT. Denoise strength, a LoRA weight, a CFG value, a multiplier - anywhere ComfyUI expects a floating-point number, you can drive it from one of these instead of burying the value inside another node's widget.

    Why bother, when you could just set the number on the node that uses it? Readability and reuse. Pull a value out into its own labeled box and you can see it at a glance, feed the same value into three places at once, and change it in one spot. ComfyUI has a generic Primitive node that does this too, but 1 Float is a tidy, single-purpose version - no mode-switching, no reroute gymnastics. It's part of ComfyUI_Mira, mirabarukaso's grab-bag of small workflow utilities, in the Numeral family alongside the multi-value float nodes.

    How it works

    There's nothing clever happening. The value you enter in the widget is the value that comes out. It's a source node - a constant you can wire around your graph.

    The inputs and outputs that matter

    • float_1 - the value, entered on the node itself (step 0.01, default 1).
    • float_1 (output) - that same value as a FLOAT, wired wherever you need it.

    If you need several values bundled together to route as a single wire, its sibling 4 Floats packs four into a list; 1 Float is the single-value case.

    Installing it

    ComfyUI Manager: search ComfyUI_Mira, install, restart. Or clone:

    cd ComfyUI/custom_nodes && git clone https://github.com/mirabarukaso/ComfyUI_Mira.git
    

    then restart. If it errors on load, run pip install -r requirements.txt inside the ComfyUI_Mira folder. It appears under Mira/Numeral.

    Common issues

    • It's a FLOAT, not an INT. If a downstream input demands an integer (seed, steps, width), ComfyUI won't accept a float directly - convert it, or use an integer source node instead.
    • Don't overthink it. For a value used in exactly one place, just set it on that node. 1 Float earns its keep when a number is shared across several nodes or when you want the graph to read cleanly - not as ceremony around every single number.
    • Pulling in one node from a personal pack. Installing Mira for just this node is fine, but know you're adding the whole toolkit. If you only ever want a float source and nothing else Mira offers, ComfyUI's built-in Primitive covers it dependency-free.
    CategoryMira/Numeral

    Inputs (1)

    NameTypeDefaultDescription
    float_1FLOAT1.00

    Outputs (1)

    NameTypeDescription
    float_1FLOAT