SP_Name_UpscaleModel
The ESRGAN filename, as text, without loading it
- STRING
Standalone upscalers - 4x-UltraSharp and the rest of the ESRGAN family, applied after generation to add resolution without re-running the diffusion model - are one of the places people accumulate a whole folder of options and end up trying several per project. SP_Name_UpscaleModel picks one from your models/upscale_models folder and outputs its filename as text, the same lightweight pattern as the rest of this pack's SP_Name_* nodes, without actually loading the model.
Why you'd want just the name
If you're comparing a few upscalers against the same base image - a common exercise, since different ESRGAN models genuinely produce different textures and sharpness characteristics - this node lets you tag each output with which upscaler actually made it, or drive a switch/branch off the choice, without the cost of loading each candidate just to read its own filename. It pairs naturally with this pack's own SP_HiresGen_HiresCfg, which has its own upscale-model picker for the actual hi-res pipeline - this node is for everywhere else in a graph you might want that same choice available as plain text.
Inputs and outputs that matter
name- a dropdown populated from your upscale models folder.- Output:
STRING- the selected filename.
How to install it
Through ComfyUI Manager: search "SP-Nodes," install, restart. Manually:
cd ComfyUI/custom_nodes
git clone https://github.com/bananasss00/ComfyUI-SP-Nodes
Restart ComfyUI once it's cloned. No extra dependency for this node itself - it reads whatever's already in your upscale models folder.
Common issues & troubleshooting
Dropdown is empty. That means models/upscale_models has nothing in it - download at least one ESRGAN-family model (UltraSharp is the common starting point) and restart ComfyUI so it re-scans the folder.
A model you just downloaded isn't showing up. Same startup-scan behavior as every other node in this family - files added while ComfyUI is already running won't appear in the dropdown until restart.
Expecting this to actually upscale something. It won't - this node never loads the model and never touches an image, it only returns a filename. If you need the upscale itself applied, wire in a real Upscale Model Loader plus an Image Upscale node (or use this pack's SP_HiresGen, which handles the loading and application internally through its own config nodes).
Not sure which upscaler to pick in the first place. That's outside what this node can tell you - it's a picker, not a recommendation engine. UltraSharp is the safe general-purpose default for photographic content; anime/illustration work tends to do better with an upscaler trained on that domain specifically, and the wrong pairing shows up as either over-smoothed detail or exaggerated, crunchy edges. Try a couple against a representative crop before committing one to a long batch run.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| name | COMBO | 0 options: |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |