Nodes/Nifty Nodes for ComfyUI/CLIP Type Selector
ComfyUI Node

CLIP Type Selector

A dropdown for the one text-encoder setting everyone forgets

By Stibo·Created 5 months ago·Updated 2 months ago· 9
CLIP Type Selector
    • type
    type

    DualCLIPLoader has a type dropdown that decides which model family the loader expects - stable_diffusion, sd3, wan, flux2, and a growing list of others. Getting it wrong means the loader refuses to touch your files, or worse, silently misreads them. CLIP Type Selector is a tiny node that turns that buried dropdown into a visible, connectable value.

    What it is

    A single required widget, type, with a dropdown of clip types drawn straight from the model families ComfyUI's dual-CLIP loader supports. The current list covers the breadth of the 2026 landscape: stable_diffusion, stable_cascade, sd3, stable_audio, mochi, ltxv, pixart, cosmos, lumina2, wan, hidream, chroma, ace, omnigen2, qwen_image, hunyuan_image, flux2, ovis, longcat_image. The output is a type string, wired into a loader's type input.

    Why a node for a dropdown?

    Same reason as the other Nifty selectors: keep the loader clean and let the selection be something you can wire, route, and swap programmatically. A combo switch can now pick between flux2 and qwen_image based on a boolean. You can drive the type from a config bundle. And when you open a downloaded workflow, the type isn't buried - it's a visible node that says exactly what's selected.

    There's also a real correctness angle. The text encoder landscape fragmented badly after SDXL - Qwen and Mistral encoders, dual encoders, GGUF-quantized encoder files, families where the type string must match the file exactly. If you've ever loaded a GGUF-quantized flux2 encoder and gotten a cryptic error, the odds are good the type wasn't set right. A selector makes the mismatch visible: you can see flux2 and your file's family at a glance.

    Honest scope note: it's a convenience and correctness aid, not a loader. You still plug its output into the loader that does the work. And it's a fixed list - if a brand-new model family ships and the pack hasn't been updated, the option won't be there. Update the pack; the list moves with it.

    Install

    Part of Nifty Nodes for ComfyUI. Manager: search "Nifty Nodes for ComfyUI" → Install → restart. Manual:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Stibo/comfyui-nifty-nodes
    

    Restart ComfyUI. No models, no downloads - it's a static dropdown. MIT-licensed, v3-API native, new pack (v2.1.0, mid-2026).

    Gotchas

    The output is a plain string, so it'll happily feed a loader even when the pair is wrong - you won't always get an immediate error, just bad results or a silent mismatch. Double-check that the type matches the file you're loading, especially with quantized or newer encoders. And if your family isn't in the list, that's an update-the-pack situation, not a broken node.

    Categorynifty/selectors

    Inputs (1)

    NameTypeDefaultDescription
    typeCOMBOSelect a clip type to pass as a string to a CLIP loader.

    Outputs (1)

    NameTypeDescription
    type*