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

Path Filename Resolved (Video)

Build a folder path and a filename for AUN Save Video with resolved values. Path = MainFolder/(optional date)/SubfolderA/SubfolderB. Filename is joined by the delimiter from: (auto/manual name), optional prefixes, actual token values (model/sampler/... formatted), optional loras, and optional suffixes.

By loz2754·Created 7 months ago·Updated about a month ago· 4
Path Filename Resolved (Video)
    • path_filename
    • sidecar_text
    MainFolderVideos
    Date_Subfoldertrue
    SubfolderAWan22
    SubfolderB
    manual_nameName
    name_modefalse
    NameCroptrue
    NameCropWords1
    prefix_1
    prefix_2
    Modeltrue
    Samplertrue
    Schedulertrue
    Stepstrue
    Cfgtrue
    suffix_1
    suffix_2
    Seedtrue
    delimiter
    auto_nameName
    model_short%model%
    model_name
    sampler_name%sampler%
    scheduler_name%scheduler%
    steps_value20
    cfg_value7.50
    seed_value123456
    sidecar_formatOutput only (text)
    CategoryAUN Nodes/File Management

    Inputs (28)

    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.
    NameCropBOOLEANtrueWhen Auto mode, keep only the first N words of 'auto_name'.
    NameCropWordsINT11–6Max words from 'auto_name' to keep when NameCrop is On.
    prefix_1STRINGOptional free-text prefix #1 to include before tokens.
    prefix_2STRINGOptional free-text prefix #2.
    ModelBOOLEANtrueInsert model name token replaced by actual model string here.
    SamplerBOOLEANtrueInsert sampler name.
    SchedulerBOOLEANtrueInsert scheduler name.
    StepsBOOLEANtrueInsert steps value formatted as 'steps-<v>' when > 0.
    CfgBOOLEANtrueInsert cfg value formatted as 'cfg-<v>' when > 0.
    suffix_1STRINGOptional free-text suffix #1 placed after tokens.
    suffix_2STRINGOptional free-text suffix #2.
    SeedBOOLEANtrueInsert seed value formatted as 'seed-<v>' (0 allowed).
    delimiterSTRING String used to join parts (prefixes/tokens/suffixes) into the filename.
    auto_nameoptSTRINGNameAuto mode name source. Cropped to the first N words when NameCrop is On.
    model_shortoptSTRING%model%Actual model short name to insert when Model is On.
    model_nameoptSTRINGFull model name (used in sidecar 'model' field).
    sampler_nameoptSTRING%sampler%Actual sampler name to insert when Sampler is On.
    scheduler_nameoptSTRING%scheduler%Actual scheduler name to insert when Scheduler is On.
    steps_valueoptINT20Actual steps value (integer).
    cfg_valueoptFLOAT7.50Actual cfg value (float).
    seed_valueoptINT123456Actual seed value (integer).
    sidecar_formatoptCOMBOOutput only (text)Choose sidecar output format. 'Save to file' writes the .txt/.json into ComfyUI's output folder next to the output; the node always returns the sidecar text as its fourth output.

    Outputs (2)

    NameTypeDescription
    path_filenameSTRING
    sidecar_textSTRING