ComfyUI Node
basename
Returns the base name of a path. This node extracts the filename component from a path, removing any directory information.
basename
- basename
◄path►
CategoryBasic/Path
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| path | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| basename | STRING | — |