Nodes/AUN ComfyUI Nodes/Path Filename Video (Legacy)
ComfyUI Node

Path Filename Video (Legacy)

Legacy video path/filename builder for existing multi-socket workflows. Uses canonical %token% placeholders and leaves %steps%, %cfg%, and %seed% bare for saver-side formatting. Use Path Filename Video V2 for new single path_filename workflows.

By loz2754·Created 7 months ago·Updated about a month ago· 4
Path Filename Video (Legacy)
    • path
    • filename
    • path_filename
    MainFolderVideos
    Date_Subfoldertrue
    SubfolderAWan22
    SubfolderB
    manual_nameName
    name_modefalse
    NameCroptrue
    NameCropWords1
    prefix_1
    prefix_2
    Modeltrue
    Samplertrue
    Schedulertrue
    Stepstrue
    Cfgtrue
    Include_Lorastrue
    suffix_1
    suffix_2
    Seedtrue
    delimiter
    max_num_words1
    auto_nameName
    CategoryAUN Nodes/File Management

    Inputs (22)

    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.
    NameCropBOOLEANtrueLegacy auto-name cropping toggle kept for older workflows. When Off, auto_name is not cropped.
    NameCropWordsINT11–6Legacy auto-name crop count kept for older workflows.
    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.
    Include_LorasBOOLEANtrueLegacy LoRA token toggle kept for older workflows. When On, appends %loras% to the filename.
    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.
    auto_nameoptSTRINGNameAuto mode name source. Cropped using max_num_words.

    Outputs (3)

    NameTypeDescription
    pathSTRING
    filenameSTRING
    path_filenameSTRING