ComfyUI Node
Path Generator
Generates configurable output paths from dynamic segments with live preview.
Path Generator
- path
- folder_path
- filename
◄output_folder►
◄config[{"name": "project", "type": "folder", "value": ""}, {"name": "shot", "type": "folder", "value": ""}, {"name": "prefix", "type": "prefix", "value": ""}, {"name": "suffix", "type": "suffix", "value": ""}]►
◄delimiter_►
◄sequencefalse►
◄frame_paddingfalse►
CategoryUtils/Path
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| output_folder | STRING | Base output folder (relative to ComfyUI output directory). Leave empty for default. | |
| config | STRING | [{"name": "project", "type": "folder", "value": ""}, {"name": "shot", "type": "folder", "value": ""}, {"name": "prefix", "type": "prefix", "value": ""}, {"name": "suffix", "type": "suffix", "value": ""}] | Segment configuration (managed by the UI). |
| delimiter | STRING | _ | Separator between filename parts. |
| sequence | BOOLEAN | false | Create a subfolder with the filename: path/filename/filename |
| frame_padding | BOOLEAN | false | Append .%04d frame padding to the filename. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| path | STRING | Full generated path (folder + filename). |
| folder_path | STRING | Folder portion of the path. |
| filename | STRING | Filename portion of the path. |