Nodes/comfyui-mdnotes/Diffusion Model Name List
ComfyUI Node

Diffusion Model Name List

The dropdown for diffusion models that remembers your notes

By Endericedragon·Created 9 months ago·Updated a day ago· 1
Diffusion Model Name List
    • Diffusion Model Name
    dfm_name0

    Classic checkpoints aren't the only thing cluttering your models folder these days. If you run FLUX, Z-Image, or anything in the unet-era family, the files you actually load live in models/diffusion_models - and keeping track of which one is which is half the battle. Diffusion Model Name List is comfyui-mdnotes' answer for exactly that folder: a dropdown of every diffusion model you own, plus a right-click path to that model's markdown note.

    This is the newer sibling in the pack, and it tracks a genuinely useful improvement: as of v1.1.9, unet-style models can live in either models/diffusion_models or models/unet, and the note lookup checks both. That matters because the diffusion_models folder is where your files end up depending on which workflow downloaded them, and being wrong about which folder a note lives in used to mean losing it entirely. The fix is also why the right-click menu on this node says "✒️ Show note of unet" rather than "diffusion model" - under the hood it's the same unet note path.

    Mechanically it's the simplest node in the pack, and there's nothing magical to it. The single input, dfm_name, is a dropdown populated from models/diffusion_models via ComfyUI's get_filename_list. Because the widget is named dfm_name, the mdnotes extension detects it and attaches the note menu item - same trigger words (ckpt, lora, unet, dfm) that give the native UNETLoader the same menu. Select a model, right-click, and the backend finds the .md file whose name best matches the model filename using sequence similarity (default threshold 0.5, adjustable in settings), opens it in the built-in Vditor editor, and saves your edits back to disk. The one output, Diffusion Model Name, is typed * (ComfyUI's wildcard), so it'll feed any input that wants a model-name string.

    Honest take: on its own this node does nothing you couldn't do with the dropdown baked into a loader. Its value is combinatorial - it turns "which diffusion model am I looking at" into a visible, wireable, documented part of the graph. Since the output is just a string, you can also convert a loader's name widget to an input and drive it from here, which makes the note and the model selection one consistent source of truth.

    Install is the same as the rest of the pack - ComfyUI Manager, search "comfyui-mdnotes," install, restart. No pip dependencies, no model downloads, no build step:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Endericedragon/comfyui-mdnotes
    # restart ComfyUI
    

    Two gotchas worth knowing. First, notes are plain .md files saved inside your models directory next to the model - treat models/diffusion_models as containing more than just weights, and back it up accordingly. Second, this node specifically had a cleanup pass in v1.1.11 that removed duplicated dropdown options; if you're on an old version and the list looks wrong, update the pack. And as with the rest of comfyui-mdnotes, keep ComfyUI reasonably up to date - the pack leans on the newer backend and frontend APIs, so an ancient install won't register the nodes at all.

    Categorymdnotes

    Inputs (1)

    NameTypeDefaultDescription
    dfm_nameCOMBO00 options:

    Outputs (1)

    NameTypeDescription
    Diffusion Model Name*