Extract Model Name

AUNExtractModelName

Extract a model name from a specific node (by numeric ID) for use in filenames. Provide the node_id of your video model loader (e.g., UNet loader, Diffusers loader, GGUF loader). The node's inputs are scanned for a model-like string value. Outputs: full_model_name: string (always the real extracted model basename), short/manual name: string (auto-shortened or manual when switch enabled; safe for filenames).

Pack: AUN ComfyUI Nodes

custom_nodes.AUN-ComfyUI-Nodes

Inputs (3)

NameTypeRequired
node_idSTRINGrequired
manual_nameSTRINGoptional
use_manual_nameBOOLEANoptional

Outputs (2)

NameType
full_model_nameSTRING
short/manual nameSTRING