ComfyUI Node
đź’€Save By File Name
Rename and copy files with custom file names without any modification. Preserves original format and content.
đź’€Save By File Name
- image
- video
- file_path
- filename
â—„filenameoutputâ–ş
â—„overwritefalseâ–ş
◄text—►
Categoryđź’€Prepack
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| filename | STRING | output | Base filename. Add .webp, .jpg, .png etc. to force specific format. Supports {date}, {time}, {timestamp} placeholders. |
| overwrite | COMBO | false | Whether to overwrite existing files or add suffix. |
| imageopt | IMAGE | Image files: PNG, JPG, JPEG, GIF, WebP, APNG formats (preserves animation). | |
| videoopt | * | Video files: MP4, AVI formats. | |
| textopt | STRING | Text content to save as file. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| file_path | STRING | Full path to the renamed file. |
| filename | STRING | Final filename used for renaming. |