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).
Extract Model Name
- full_model_name
- short/manual name
◄node_id0►
◄manual_name►
◄use_manual_namefalse►
CategoryAUN Nodes/Utility
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| node_id | STRING | 0 | The numeric ID or Title of the model loader node to inspect. |
| manual_nameopt | STRING | Manual model name (optional). When 'use manual name' is on, this value (sanitized) becomes the short/manual output. | |
| use_manual_nameopt | BOOLEAN | false | When true and manual_name is not empty, outputs will use the manual name (sanitized). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| full_model_name | STRING | — |
| short/manual name | STRING | — |