Nodes/AUN ComfyUI Nodes/Path Filename Video V2
ComfyUI Node

Path Filename Video V2

Recommended video path/filename builder for new workflows. Returns path_filename plus date_format for direct use with Save Video V2.

By loz2754·Created 7 months ago·Updated about a month ago· 4
Path Filename Video V2
    • path_filename
    • date_format
    MainFolderVideos
    Date_Subfoldertrue
    SubfolderAWan22
    SubfolderB
    manual_nameName
    name_modefalse
    prefix_1
    prefix_2
    Modeltrue
    Samplertrue
    Schedulertrue
    Stepstrue
    Cfgtrue
    suffix_1
    suffix_2
    Seedtrue
    delimiter
    max_num_words1
    Datetrue
    date_format
    auto_nameName
    CategoryAUN Nodes/File Management

    Inputs (21)

    NameTypeDefaultDescription
    MainFolderSTRINGVideosTop-level folder under which the path will be created (e.g., Videos).
    Date_SubfolderBOOLEANtrueInsert a YYYY-MM-DD subfolder beneath MainFolder.
    SubfolderASTRINGWan22Optional subfolder A (e.g., project/model name).
    SubfolderBSTRINGOptional subfolder B (e.g., variant).
    manual_nameSTRINGNameManual name value used only when Name Mode is Manual.
    name_modeBOOLEANfalseManual: use 'manual_name'. Auto: use 'auto_name' input.
    prefix_1STRINGOptional free-text prefix #1 to include before tokens.
    prefix_2STRINGOptional free-text prefix #2.
    ModelBOOLEANtrueInsert the %model_short% placeholder.
    SamplerBOOLEANtrueInsert the %sampler_name% placeholder.
    SchedulerBOOLEANtrueInsert the %scheduler% placeholder.
    StepsBOOLEANtrueInsert the bare %steps% placeholder. AUN Save Video formats it as steps-<v> when > 0.
    CfgBOOLEANtrueInsert the bare %cfg% placeholder. AUN Save Video formats it as cfg-<v> when > 0.
    suffix_1STRINGOptional free-text suffix #1 placed after tokens.
    suffix_2STRINGOptional free-text suffix #2.
    SeedBOOLEANtrueInsert the bare %seed% placeholder. AUN Save Video formats it as seed-<v> (0 allowed).
    delimiterSTRING String used to join parts (prefixes/tokens/suffixes) into the filename.
    max_num_wordsINT10–32Maximum number of words to keep from auto_name. Set to 0 for no limit.
    DateBOOLEANtrueInclude the %date% placeholder in the filename template.
    date_formatCOMBODate format used for the dated subfolder output and returned for downstream V2 saver nodes.
    auto_nameoptSTRINGNameAuto mode name source. Cropped using max_num_words.

    Outputs (2)

    NameTypeDescription
    path_filenameSTRING
    date_formatSTRING