Nodes/ComfyUI Prepack/đź’€Save By File Name
ComfyUI Node

đź’€Save By File Name

Rename and copy files with custom file names without any modification. Preserves original format and content.

By S4MUEL-404·Created 11 months ago·Updated 9 months ago· 2
đź’€Save By File Name
  • image
  • video
  • file_path
  • filename
â—„filenameoutputâ–ş
â—„overwritefalseâ–ş
◄text—►
Categoryđź’€Prepack

Inputs (5)

NameTypeDefaultDescription
filenameSTRINGoutputBase filename. Add .webp, .jpg, .png etc. to force specific format. Supports {date}, {time}, {timestamp} placeholders.
overwriteCOMBOfalseWhether to overwrite existing files or add suffix.
imageoptIMAGEImage files: PNG, JPG, JPEG, GIF, WebP, APNG formats (preserves animation).
videoopt*Video files: MP4, AVI formats.
textoptSTRINGText content to save as file.

Outputs (2)

NameTypeDescription
file_pathSTRINGFull path to the renamed file.
filenameSTRINGFinal filename used for renaming.