Nodes/AUN ComfyUI Nodes/Path Filename (Legacy)
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.

By loz2754·Created 7 months ago·Updated about a month ago· 4
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)

    NameTypeDefaultDescription
    MainFolderSTRINGMainThe root output folder.
    Date_SubfolderBOOLEANtrueIf on, creates a subfolder with the current date (YYYY-MM-DD).
    Subfolder_ASTRINGFirst level of custom subfolders. Add more levels by adding a / between them.
    Subfolder_BSTRINGSecond level of custom subfolders.
    nameSTRINGNameThe base name for the file.
    DateBOOLEANtrueInclude the date placeholder (%date%) in the filename.
    prefix_1STRINGFirst custom prefix for the filename.
    prefix_2STRINGSecond custom prefix for the filename.
    ModelBOOLEANfalseInclude model placeholder (%model_short%) in the filename.
    SamplerBOOLEANtrueInclude sampler placeholder (%sampler_name%) in the filename.
    SchedulerBOOLEANtrueInclude scheduler placeholder (%scheduler%) in the filename.
    SeedBOOLEANtrueInclude the seed placeholder as seed_%seed% in the filename.
    StepsBOOLEANtrueInclude the steps placeholder as steps_%steps% in the filename.
    CFGBOOLEANtrueInclude the CFG placeholder as CFG_%cfg% in the filename.
    LabelsSTRINGAdditional labels to include in the filename.
    suffix_1STRINGFirst custom suffix for the filename.
    suffix_2STRINGSecond custom suffix for the filename.
    delimiterSTRING The character used to separate parts of the filename.
    batch_sizeoptINT11–1000The batch size for the output.

    Outputs (2)

    NameTypeDescription
    pathSTRING
    filenameSTRING