Nodes/fxai-toolkit/凤希AI - 小数输入
ComfyUI Node

凤希AI - 小数输入

A float input node — boring, but it's the 'define once, wire everywhere' glue

By fxai666·Created 4 months ago·Updated 4 days ago· 35
凤希AI - 小数输入
    • 输出
    输入数字0

    This is a node that just... holds a number. FxAiInputFloat takes a 输入数字 (a float) and outputs it unchanged as 输出. That's it. No math, no conversion, no pixels. It's the kind of node that looks like filler until you've rebuilt a workflow three times and realized that typing 0.6 into six different widgets is how you end up with five different 0.6s.

    In ComfyUI's plumbing layer - the part of every graph that's 70% invisible wiring - a primitive/value node like this exists to fight repetition: one authoritative source for a value, fanned out to every consumer. This node is that pattern for floats, in a pack that otherwise routes everything through its own nodes.

    How it works

    The entire implementation is return (输入数字,) - input passes straight through. The value is a widget on the node, so you set it once and wire the output into every FLOAT input that needs it. Change it in one place and every consumer follows. The magic is the same "Convert widget to input" mechanic that powers primitive nodes in core ComfyUI - except here the widget is the node, which is what makes it convenient in this pack's graphs.

    Inputs and outputs

    • 输入数字 (FLOAT, default 0) - the value.
    • 输出 (FLOAT) - the same value.

    That's the whole contract.

    Installing it

    Part of fxai-toolkit (凤希AI, MIT). Install via ComfyUI Manager (search "fxai-toolkit") or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/fxai666/fxai-toolkit
    # restart ComfyUI
    

    No models, no dependencies beyond the pack's first-load auto-install of soundfile and psutil. Chinese labels; support via the author's QQ group (775649071) and Bilibili.

    Where people get burned

    Honestly? The trap with these nodes is underusing them. If you're typing the same strength, CFG, or multiplier into several widgets, that's the moment to drop one of these in and wire it everywhere - it's exactly the "one seed, five samplers" pattern from ComfyUI's own plumbing, and it's the difference between changing a value in one place and hunting it across a graph. One real caveat: this node holds a float, so it won't accept integer inputs without a conversion - that's what the pack's FxAiIntToFloat node is for.

    Category凤希AI/工具

    Inputs (1)

    NameTypeDefaultDescription
    输入数字FLOAT0

    Outputs (1)

    NameTypeDescription
    输出FLOAT