ComfyUI Node Runs on cloud

Checkpoint Selector

Record the model name Civitai matches on

By giriss·Created 3 years ago·Updated 19 days ago· 338
Checkpoint Selector
    • ckpt_name
    ckpt_name

    Checkpoint Selector is a dropdown of the checkpoint files you have installed, and it outputs the chosen name. That name is the piece the metadata saver needs: the modelname field in Save Image w/Metadata is what Civitai and Prompthero use to figure out which model made an image. If you don't tell the save node your model, that field sits empty and the site can't link the upload to the checkpoint. This node solves it the pack's usual way - pick the model in one place, and send the name to both your loader and the save node so they can't disagree.

    How it works

    Choose a checkpoint from the dropdown; the node outputs its filename as a combo value. Wire that into the Save Image w/Metadata node's modelname. If your checkpoint loader accepts its ckpt_name as an input (convert the widget to an input, or use a loader that exposes it), split the same wire in so the model you load and the model you record are guaranteed identical. One selection, one truth.

    Worth being precise about what this outputs: it's the model's name, a string, not a loaded model object. It doesn't replace your Load Checkpoint node - it labels which one you're using. The actual model, CLIP and VAE still come out of the loader as normal.

    The input and output

    • ckpt_name (enum) - the dropdown of installed checkpoints. On a machine with no checkpoints in models/checkpoints, this list is empty; drop a .safetensors file in and restart and it populates. The list is exactly what your Load Checkpoint node shows, because both read the same folder.

    The single output is ckpt_name, carrying the selected filename.

    Installing it

    Ships with the pack. ComfyUI Manager: search Save Image with Generation Metadata, install, restart. Manually:

    cd ComfyUI/custom_nodes
    git clone https://github.com/giriss/comfy-image-saver
    cd comfy-image-saver
    pip install -r requirements.txt
    

    Restart ComfyUI. The node itself needs no downloads - but it only lists checkpoints you've already installed.

    Where people get tripped up

    The most common confusion: an empty dropdown. That's not a broken node - it means ComfyUI sees no checkpoints in models/checkpoints. Add one and restart (or hit refresh) and it shows up.

    The second is expecting this to load the model. It doesn't. If you wire its output somewhere expecting a MODEL, it won't fit; the output is a name string bound for modelname and, optionally, a loader's ckpt_name input. Keep your Load Checkpoint node.

    Honestly, this is one of the pack's quieter nodes - many people just type or leave the model name on the save node and move on. It earns its keep when you switch checkpoints often and want the metadata to follow automatically, or when you're building a clean graph where every recorded field traces back to a single selector. If neither's you, setting modelname by hand is perfectly fine.

    CategoryImageSaverTools/utils

    Inputs (1)

    NameTypeDefaultDescription
    ckpt_nameCOMBO0 options:

    Outputs (1)

    NameTypeDescription
    ckpt_name