Nodes/comfyui-dynamic-anynode/Any Guider (All-In-One)
ComfyUI Node

Any Guider (All-In-One)

Any Guider (All-In-One)

By asagi4·Created 8 months ago·Updated 8 months ago· 1
Any Guider (All-In-One)
    • guider
    selection

    The guider is the part of ComfyUI's custom sampling workflow that decides how hard the model follows your prompt. Stock ComfyUI ships two: CFGGuider (classic CFG plus a real negative prompt) and BasicGuider (for guidance-distilled models where CFG is baked into the weights). Then the packs got involved. DualCFGGuider for split guidance, PerpNegGuider to cram a working negative into Flux, AdaptiveGuider that drops CFG back to 1 for the last few steps to claw back a chunk of render time. Every one of them outputs the same thing - a GUIDER - and every one is a separate node with its own scattered submenu and widget set.

    Any Guider (All-In-One) is that problem in node form: one node, one dropdown, and the dropdown rewrites the node to match whatever you pick.

    How it works

    This is a dispatcher, not a reimplementation. On load, the node walks every node class ComfyUI currently has registered and collects the v3-style ones whose output is a GUIDER. Those become the entries in the selection dropdown. Pick an entry and the node re-renders itself with that guider's real inputs; on execute it just forwards your settings to the underlying node. Same math, same defaults, same behavior as wiring the actual node in - it's a thin shim between you and the node menu.

    The one input you actually touch is selection, the dynamic combo. Everything else on the node appears after you choose. The single output is guider, which wires into the guider input of CustomSamplingAdvanced, right next to your sampler, scheduler, and noise.

    Why you'd reach for it

    Because which guider is "right" is now a model question, not a preference. Guidance-distilled checkpoints - Flux, Z-Image, most 2026 releases - run on BasicGuider; pointing CFGGuider at them applies guidance twice, doubles render time, and burns the image. PerpNegGuider exists because those models have no native negative prompt. Rather than memorize which node name belongs to which architecture, you keep one guider node and swap the dropdown entry when you change models. Swap without rewiring anything.

    A word of context if the author matters to you: this is asagi4, the same person behind ComfyUI-Adaptive-Guidance, so AdaptiveGuider shows up in this dropdown too if you've got that pack installed. This pack is partly his way of making all the guider variants he and everyone else ship discoverable from one socket.

    Install

    The honest headline first: this pack targets the v3-improvements ComfyUI branch, not stock ComfyUI. The README says you "will probably need" it, and in practice the nodes won't load on the stable branch. On a v3 branch, install is boring:

    cd ComfyUI/custom_nodes
    git clone https://github.com/asagi4/comfyui-dynamic-anynode
    

    Then restart ComfyUI. Or search "ComfyUI Any Nodes" in ComfyUI Manager and click Install. No pip dependencies, no model files, no API key.

    Common issues

    • The dropdown is nearly empty. The list only contains guiders from packs you've actually installed. Fresh install equals stock guiders only. Want AdaptiveGuider or DualCFGGuider in the list? Install those packs, then refresh.
    • Your favorite guider is missing entirely. It's probably a legacy node that hasn't migrated to ComfyUI's v3 node API. The pack only detects v3 nodes - "fortunately most" of the custom sampling ecosystem is on it by now, but not all.
    • The node doesn't exist in the menu. You're on the stable branch. This is the #1 real-world failure mode, and the README is upfront about it.
    Categorysampling/custom_sampling/

    Inputs (1)

    NameTypeDefaultDescription
    selectionCOMBO5 options: [object Object], [object Object], [object Object], [object Object], [object Object]

    Outputs (1)

    NameTypeDescription
    guiderGUIDER