Nodes/ComfyUI-QuickMode/QuickMode Condition
ComfyUI Node

QuickMode Condition

Draft or production

By yanadere0549·Created 2 months ago·Updated 2 months ago· 0
QuickMode Condition
    • production
    • mode
    productionfalse

    The whole pack is one boolean

    ComfyUI-QuickMode (by yanadere0549, README in Japanese) is built around a single idea: your workflow has two personalities - draft, where you want fast, cheap iterations, and production, where you're willing to pay for the high-quality final render. The pack turns that difference into one boolean that flows through the graph, and QuickMode Condition is the switch at the top of it all.

    There is exactly one widget here: production, a boolean defaulting to False, labeled on/off as "production"/"draft". Flip it, and two outputs come out:

    • production - the boolean itself (BOOLEAN)
    • mode - a STRING: "production" or "draft"

    The node is almost embarrassingly simple - a pass-through. Its whole job is to be one source of truth you fan out to many places. Wire the production output into the condition input of as many QuickMode If nodes as you like, and one click flips every branch in the workflow at once.

    Why you'd actually use this

    Without this pattern, switching between draft and production settings means editing widgets scattered across half a dozen nodes - the EmptyLatentImage resolution, the KSampler steps, cfg, sampler choice - and then remembering to change them all back. QuickMode's answer is the "if statement" way: leave two full branches in the graph and let one boolean choose which runs (that's QuickMode If, the node that actually does the selecting). It's the same A/B-switch family rgthree and Impact Pack popularized - the node-plumbing essay in the KB calls this the "graph as a small program" layer - but scoped to one question: draft or production.

    The toolbar button and Alt+Q

    The pack ships a small frontend extension, so flipping is one click away: a toggle button in the action bar, Alt+Q as a keyboard shortcut, and a QuickMode menu with Toggle / Set draft / Set production. The toggle does a read-then-flip - it reads the current value off the graph right before flipping, so it can't drift out of sync with what you're actually looking at.

    Install

    An easy one: no requirements.txt, no models to download, no heavy dependencies - just the node code and one small JS file.

    cd ComfyUI/custom_nodes
    git clone https://github.com/yanadere0549/ComfyUI-QuickMode
    

    then restart ComfyUI. Or via ComfyUI Manager: search "ComfyUI-QuickMode" and hit Install.

    Gotchas

    • The toggle only scans the root graph (app.graph._nodes). Conditions inside subgraphs (workflow components/groups) are skipped - if you use subgraphs, flip those by hand.
    • Keep exactly one Condition node. The toggle reads the first one it finds and flips every Condition to the opposite of that. If you've let two drift out of sync, the one-click toggle won't reconcile them.
    • The mode string output is for downstream text use - a filename, a text display, whatever. For actual switching, wire the production boolean.

    The pack is brand new (first commit July 2026) and small, so treat it as a young tool - but this node is genuinely the cleanest one-switch-does-everything pattern in the pack. Start here.

    CategoryQuickMode

    Inputs (1)

    NameTypeDefaultDescription
    productionBOOLEANfalse

    Outputs (2)

    NameTypeDescription
    productionBOOLEAN
    modeSTRING