ComfyUI Node
Path Filename (Legacy)
Legacy image path/filename builder for existing workflows. Generates a file path and filename from various components and placeholders, when saving images. Use Path/Filename V2 for new workflows.
Path Filename (Legacy)
- path
- filename
◄MainFolderMain►
◄Date_Subfoldertrue►
◄Subfolder_A►
◄Subfolder_B►
◄nameName►
◄Datetrue►
◄prefix_1►
◄prefix_2►
◄Modelfalse►
◄Samplertrue►
◄Schedulertrue►
◄Seedtrue►
◄Stepstrue►
◄CFGtrue►
◄Labels►
◄suffix_1►
◄suffix_2►
◄delimiter ►
◄batch_size1►
CategoryAUN Nodes/File Management
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| MainFolder | STRING | Main | The root output folder. |
| Date_Subfolder | BOOLEAN | true | If on, creates a subfolder with the current date (YYYY-MM-DD). |
| Subfolder_A | STRING | First level of custom subfolders. Add more levels by adding a / between them. | |
| Subfolder_B | STRING | Second level of custom subfolders. | |
| name | STRING | Name | The base name for the file. |
| Date | BOOLEAN | true | Include the date placeholder (%date%) in the filename. |
| prefix_1 | STRING | First custom prefix for the filename. | |
| prefix_2 | STRING | Second custom prefix for the filename. | |
| Model | BOOLEAN | false | Include model placeholder (%model_short%) in the filename. |
| Sampler | BOOLEAN | true | Include sampler placeholder (%sampler_name%) in the filename. |
| Scheduler | BOOLEAN | true | Include scheduler placeholder (%scheduler%) in the filename. |
| Seed | BOOLEAN | true | Include the seed placeholder as seed_%seed% in the filename. |
| Steps | BOOLEAN | true | Include the steps placeholder as steps_%steps% in the filename. |
| CFG | BOOLEAN | true | Include the CFG placeholder as CFG_%cfg% in the filename. |
| Labels | STRING | Additional labels to include in the filename. | |
| suffix_1 | STRING | First custom suffix for the filename. | |
| suffix_2 | STRING | Second custom suffix for the filename. | |
| delimiter | STRING | The character used to separate parts of the filename. | |
| batch_sizeopt | INT | 11–1000 | The batch size for the output. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| path | STRING | — |
| filename | STRING | — |