Skip to content

Add model name STRING output to UnetLoaderGGUF #447

@KasumiFukai

Description

@KasumiFukai

I would like to request a small usability improvement for UnetLoaderGGUF.

Currently, the node lets the user select unet_name, but it only outputs MODEL.
For workflows that save images with metadata, especially JPEG/WebP metadata for Civitai-style upload forms, it is useful to pass the selected GGUF model name to save nodes automatically.

Use cases:

  • Save the selected GGUF model name into image metadata
  • Use the model name in filenames or output folders
  • Avoid manually typing the model name every time the model is changed
  • Keep metadata synchronized with the actual loaded model

Suggested change:

RETURN_TYPES = ("MODEL", "STRING")
RETURN_NAMES = ("model", "modelname")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions