Diffusion Model Selector
A dropdown over your diffusion_models folder
- model_name
- model_name_str
The author didn't leave a description for this one in the pack's node registry, but the mechanics are identical to its two siblings in this same pack - Text Encoder Selector and Patch Model Selector - just pointed at a different folder. If you've used either of those, you already know how this one works.
What it does
model_name is a dropdown populated from whatever's in ComfyUI's diffusion_models folder - the split-loading path most modern workflows use for the backbone model on its own, separate from CLIP and VAE (common with Flux, GGUF-quantized checkpoints, and similar setups). Pick one, and you get two outputs carrying that choice in two shapes: model_name typed to match the dropdown itself, meant for wiring directly into a downstream node that expects that connection type, and model_name_str giving you the plain filename as text - useful for logging, display, or building a name string elsewhere in your graph.
It doesn't load the model. It just names one, the same way its siblings name a text encoder or a patch file, so something else in your workflow can consume the choice.
That sibling relationship is worth knowing about explicitly: Text Encoder Selector and Patch Model Selector are the same node pattern pointed at different folders, and all three exist to solve the same problem - ComfyUI's built-in file dropdowns are fixed widgets, not something you can drive from a loop, a preset, or another node's output. Wrapping the same picker as a connection-typed node is the standard workaround, and this pack applies it consistently across model files, patch files, and text encoders rather than solving it once and stopping.
Installing it
ComfyUI Manager: search DemonAlone-nodes-ComfyUI, install, restart. Manually:
cd ComfyUI/custom_nodes
git clone https://github.com/DemonAlone/SimpeStringGenerator_ComfyUI
No extra dependencies or model downloads - the README is a short credits list, nothing more.
Where people get burned
An empty dropdown means an empty diffusion_models folder, not a broken node - drop a .safetensors or .gguf file in there and restart (or refresh) ComfyUI to see it show up. And if a downstream connection gets rejected, it's almost always a type mismatch: use model_name for anything that needs to resolve to an actual loadable model, and model_name_str only where plain text is what's wanted.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| model_name | COMBO | 0 options: |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| model_name | — | |
| model_name_str | STRING | — |