Nodes/RiceRound Cloud Node/RiceRound Boolean
ComfyUI Node

RiceRound Boolean

Turn a toggle into a form field on your published workflow

By RiceRound·Created 2 years ago·Updated about a year ago· 22
RiceRound Boolean
    • value
    name开关
    valuefalse

    The simplest of RiceRound's parameter nodes, and a good one to use if this is the first RiceRound node you've opened: it's just a named on/off switch. Wherever a downstream node in your workflow branches on a true/false - skip an upscale pass, toggle a watermark, switch between two prompt paths - this is how you turn that decision into something the person using your published RiceRound page gets to make, instead of something you hardcoded before you published.

    What it's for, in context

    ComfyUI_RiceRound exists to take a workflow you've built locally and publish it as a hosted page and callable "cloud node" on riceround.online. None of its nodes generate anything; they're all either exposing a parameter (this one, plus the Int/Float/text/image variants) or handling the actual publish step (RiceRound Publish, at the end of your graph). RiceRoundBooleanNode is purely the former - a labeled toggle, nothing more.

    The inputs and output that matter

    • name (STRING, default "开关" - literally "switch" in Chinese) - the label shown on the field. As with the rest of this pack's defaults, it ships in Chinese; rename it to whatever your actual users need before you publish.
    • value (BOOLEAN, default false) - the value you're setting while testing locally. Whatever it's set to when you run RiceRound Publish is presumably what the toggle defaults to on the generated page.
    • Output: value (BOOLEAN) - a plain true/false you wire into whatever's branching on it, same as a core boolean widget.

    There's no min/max or choice list here - it's a two-state field, full stop. If you need more than two options, that's RiceRoundAdvancedChoiceNode, not this one.

    Installing it

    Search "RiceRound" in ComfyUI Manager and install, or clone it yourself:

    cd ComfyUI/custom_nodes
    git clone https://github.com/RiceRound/ComfyUI_RiceRound
    

    Restart ComfyUI afterward. Nothing in the README calls for a separate pip install step or a model download - the pack is a workflow-packaging and upload layer, not a generation one, so there's genuinely nothing heavy to fetch.

    Common issues & troubleshooting

    Should this be in the workflow I actually publish? Yes, without hesitation - it's an Input-category node, and the README's central rule is that Input-category nodes are exactly what belongs in a workflow you're about to run through RiceRound Publish. The nodes to strip out before publishing are the Output-category ones (Output Boolean among them, confusingly similarly named - don't mix the two up).

    The toggle doesn't seem to affect anything once published. Trace the wire from this node's value output all the way to wherever it's supposed to branch your logic - a boolean feeding a node that doesn't actually gate on it will happily execute and produce output regardless of the toggle's state, and there's no validation in the node itself that catches a dead-end wire.

    You want more than on/off. This node genuinely only does two states. For a dropdown, a preset list, or free text, reach for RiceRoundAdvancedChoiceNode or RiceRoundInputTextNode instead - trying to fake multiple options out of a boolean means you're fighting the tool rather than using it.

    CategoryRiceRound/Input

    Inputs (2)

    NameTypeDefaultDescription
    nameSTRING开关
    valueBOOLEANfalse

    Outputs (1)

    NameTypeDescription
    valueBOOLEAN