ComfyUI Node
Path Filename Resolved (Video)
Build a folder path and a filename for AUN Save Video with resolved values. Path = MainFolder/(optional date)/SubfolderA/SubfolderB. Filename is joined by the delimiter from: (auto/manual name), optional prefixes, actual token values (model/sampler/... formatted), optional loras, and optional suffixes.
Path Filename Resolved (Video)
- path_filename
- sidecar_text
◄MainFolderVideos►
◄Date_Subfoldertrue►
◄SubfolderAWan22►
◄SubfolderB►
◄manual_nameName►
◄name_modefalse►
◄NameCroptrue►
◄NameCropWords1►
◄prefix_1►
◄prefix_2►
◄Modeltrue►
◄Samplertrue►
◄Schedulertrue►
◄Stepstrue►
◄Cfgtrue►
◄suffix_1►
◄suffix_2►
◄Seedtrue►
◄delimiter ►
◄auto_nameName►
◄model_short%model%►
◄model_name►
◄sampler_name%sampler%►
◄scheduler_name%scheduler%►
◄steps_value20►
◄cfg_value7.50►
◄seed_value123456►
◄sidecar_formatOutput only (text)►
CategoryAUN Nodes/File Management
Inputs (28)
| Name | Type | Default | Description |
|---|---|---|---|
| MainFolder | STRING | Videos | Top-level folder under which the path will be created (e.g., Videos). |
| Date_Subfolder | BOOLEAN | true | Insert a YYYY-MM-DD subfolder beneath MainFolder. |
| SubfolderA | STRING | Wan22 | Optional subfolder A (e.g., project/model name). |
| SubfolderB | STRING | Optional subfolder B (e.g., variant). | |
| manual_name | STRING | Name | Manual name value used only when Name Mode is Manual. |
| name_mode | BOOLEAN | false | Manual: use 'manual_name'. Auto: use 'auto_name' input. |
| NameCrop | BOOLEAN | true | When Auto mode, keep only the first N words of 'auto_name'. |
| NameCropWords | INT | 11–6 | Max words from 'auto_name' to keep when NameCrop is On. |
| prefix_1 | STRING | Optional free-text prefix #1 to include before tokens. | |
| prefix_2 | STRING | Optional free-text prefix #2. | |
| Model | BOOLEAN | true | Insert model name token replaced by actual model string here. |
| Sampler | BOOLEAN | true | Insert sampler name. |
| Scheduler | BOOLEAN | true | Insert scheduler name. |
| Steps | BOOLEAN | true | Insert steps value formatted as 'steps-<v>' when > 0. |
| Cfg | BOOLEAN | true | Insert cfg value formatted as 'cfg-<v>' when > 0. |
| suffix_1 | STRING | Optional free-text suffix #1 placed after tokens. | |
| suffix_2 | STRING | Optional free-text suffix #2. | |
| Seed | BOOLEAN | true | Insert seed value formatted as 'seed-<v>' (0 allowed). |
| delimiter | STRING | String used to join parts (prefixes/tokens/suffixes) into the filename. | |
| auto_nameopt | STRING | Name | Auto mode name source. Cropped to the first N words when NameCrop is On. |
| model_shortopt | STRING | %model% | Actual model short name to insert when Model is On. |
| model_nameopt | STRING | Full model name (used in sidecar 'model' field). | |
| sampler_nameopt | STRING | %sampler% | Actual sampler name to insert when Sampler is On. |
| scheduler_nameopt | STRING | %scheduler% | Actual scheduler name to insert when Scheduler is On. |
| steps_valueopt | INT | 20 | Actual steps value (integer). |
| cfg_valueopt | FLOAT | 7.50 | Actual cfg value (float). |
| seed_valueopt | INT | 123456 | Actual seed value (integer). |
| sidecar_formatopt | COMBO | Output only (text) | Choose sidecar output format. 'Save to file' writes the .txt/.json into ComfyUI's output folder next to the output; the node always returns the sidecar text as its fourth output. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| path_filename | STRING | — |
| sidecar_text | STRING | — |