Nodes/ComfyUI_AutoDownloadModels/Show Models And Folder Mappings
ComfyUI Node

Show Models And Folder Mappings

A formatter for the model→folder mapping list

By AIExplorer25·Created about a year ago·Updated about a year ago· 21
Show Models And Folder Mappings
    • Models Paths
    mappings

    If you've read the other nodes in this pack, you know the internal format: mapping strings like (modelname.safetensors~~~foldername) that flow between GetModelsFromWorkflow, AutoDownloadALLModels, and their friends. Show Models And Folder Mappings is meant to sit in the middle of that chain as a way to see what you're working with - feed it a mapping string, and it re-formats each entry wrapped in parentheses so the list is readable before you let the downloader loose on it.

    That's the intent. The implementation is another story, and it's worth being honest about it: this is the least polished node in the pack. The description is a copy-paste that claims it "downloads models," which it absolutely doesn't - it only ever touches strings. And its one input, mappings, is typed as a STRING, which matters more than the author probably realized.

    What it actually does

    The node takes the mappings input, iterates over it, wraps each element in parentheses, and joins everything with commas. The output is a Models Paths string that looks like the pack's mapping format.

    The quirk: because ComfyUI hands it a plain string, iterating a string walks it character by character. Feed it the proper (name~~~folder),(name~~~folder) list and you get back something closer to a character salad than a clean list - (m),(o),(d).... It's not a crash, and it's not dangerous; it just means the node is more of a rough sketch of a "display mapping" tool than a robust one. If the input ever arrives as an actual list instead of a string, the wrapping behaves as intended, but the schema says STRING, so plan for the string behavior.

    Honestly, the easiest way to "see" the mappings is the same way the node's author does: it prints the formatted result to the ComfyUI console. Don't build anything that depends on this node's output being exactly right.

    Install

    The standard pack install, unchanged - ComfyUI Manager → search ComfyUI_AutoDownloadModels → install, or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/AIExplorer25/ComfyUI_AutoDownloadModels
    cd ComfyUI_AutoDownloadModels
    pip install -r requirements.txt
    

    then restart.

    Should you use it?

    Probably not as a permanent part of a workflow. If you're following a tutorial that strings GetModelsFromWorkflow → this node → AutoDownloadALLModels, it won't hurt - but you can safely drop it and wire the mapping string straight into AutoDownloadALLModels. What this node is genuinely useful for is debugging: run it once, glance at the console output, and confirm the mapping format is what you think it is before you let the downloader start pulling gigabytes based on a guess. That's a legitimate job, and it's the only one this node does well. It's a quick reminder that this pack is one person's pragmatic toolbox - a couple of the tools are a little rough around the edges, but the ones that matter (the downloaders) do real work.

    CategoryShowMappings

    Inputs (1)

    NameTypeDefaultDescription
    mappingsSTRING

    Outputs (1)

    NameTypeDescription
    Models PathsSTRING