Nodes/ComfyUI Model Downloader/Auto Model Finder (Experimental)
ComfyUI Node

Auto Model Finder (Experimental)

Scans your workflow for missing models and finds them on Hugging Face

By ciri·Created 2 years ago·Updated 22 days ago· 126
Auto Model Finder (Experimental)
    • repo_id
    • filename
    • local_path
    select_modelScan First

    You know the ritual: load someone's shared workflow, hit queue, and ComfyUI throws back a wall of "missing model" errors for checkpoints you've never heard of. ComfyUI Manager solved this for nodes years ago - install missing custom nodes in one click. This node is the same idea aimed at models: it scans your canvas for references to model files you don't have, and tries to match them against Hugging Face repos automatically. The pack marks it Experimental, and it earns that label - think of it as a smart first guess, not a solved problem.

    How it works

    The scan looks at your current workflow, finds nodes pointing at model files ComfyUI can't locate on disk, and checks them against known Hugging Face repos. It doesn't run automatically the instant you edit the graph - you either click the "Rescan models" button to refresh the list without executing anything, or just queue the workflow, which triggers a scan too. One nice bit of resilience: if you'd previously selected a match and that model is no longer missing (say you downloaded it another way in the meantime), the node doesn't error out - it quietly falls back to whatever the first current match is.

    The inputs and outputs that matter

    There's exactly one input: select_model, a dropdown that starts on the placeholder Scan First until a scan finds something. Once it does, entries are labeled with the ComfyUI folder they belong in - checkpoints/model.safetensors rather than just model.safetensors - specifically so two files that happen to share a name in different folders don't get confused for each other.

    The payoff is the three outputs: repo_id, filename, and local_path. They're shaped to plug directly into the matching three inputs on HF Downloader - repo_idrepo_id, filenamefilename, local_pathlocal_path - so wiring these two nodes together turns "workflow says model missing" into an actual download with no manual searching in between.

    Installing it

    Via ComfyUI Manager: search "ComfyUI Model Downloader", install, restart. Or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/ciri/comfyui-model-downloader.git
    

    Restart ComfyUI after either route.

    Common issues

    It only finds Hugging Face matches. By the pack's own roadmap, CivitAI matching is on the wishlist and not built yet. If the missing model you're chasing only exists on CivitAI, this node won't find it - you're back to a manual model_id lookup and the pack's CivitAI Downloader node.

    Don't trust a match blindly. This is the honest cost of "experimental": it's matching against known files, and a same-named checkpoint can differ in ways that matter - quantization, pruning, a fine-tune versus the base. Before you queue a real download off a match, sanity-check that the repo_id/filename it found actually correspond to the model you meant, not just something with a similar name.

    Stale list after editing the canvas. The scan doesn't run on every keystroke - if you just added or removed a node, click Rescan models before trusting what's in the dropdown, or just queue the workflow (which forces a rescan as a side effect).

    Nothing shows up at all. If the workflow genuinely has no models it recognizes as both missing and known, the dropdown stays on Scan First. That's not necessarily broken - it may just mean the missing file isn't one the node has a match for, which loops back to the Hugging-Face-only limitation above.

    Categoryloaders

    Inputs (1)

    NameTypeDefaultDescription
    select_modelCOMBOScan First1 options: Scan First

    Outputs (3)

    NameTypeDescription
    repo_idSTRING
    filenameSTRING
    local_pathSTRING