Nodes/AUN ComfyUI Nodes/Extract Model Name
ComfyUI Node

Extract Model Name

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).

By loz2754·Created 7 months ago·Updated about a month ago· 4
Extract Model Name
    • full_model_name
    • short/manual name
    node_id0
    manual_name
    use_manual_namefalse
    CategoryAUN Nodes/Utility

    Inputs (3)

    NameTypeDefaultDescription
    node_idSTRING0The numeric ID or Title of the model loader node to inspect.
    manual_nameoptSTRINGManual model name (optional). When 'use manual name' is on, this value (sanitized) becomes the short/manual output.
    use_manual_nameoptBOOLEANfalseWhen true and manual_name is not empty, outputs will use the manual name (sanitized).

    Outputs (2)

    NameTypeDescription
    full_model_nameSTRING
    short/manual nameSTRING