ComfyUI Node

Path Generator

Generates configurable output paths from dynamic segments with live preview.

By alexmunteanu·Created 2 months ago·Updated 2 months ago· 0
Path Generator
    • path
    • folder_path
    • filename
    output_folder
    config[{"name": "project", "type": "folder", "value": ""}, {"name": "shot", "type": "folder", "value": ""}, {"name": "prefix", "type": "prefix", "value": ""}, {"name": "suffix", "type": "suffix", "value": ""}]
    delimiter_
    sequencefalse
    frame_paddingfalse
    CategoryUtils/Path

    Inputs (5)

    NameTypeDefaultDescription
    output_folderSTRINGBase output folder (relative to ComfyUI output directory). Leave empty for default.
    configSTRING[{"name": "project", "type": "folder", "value": ""}, {"name": "shot", "type": "folder", "value": ""}, {"name": "prefix", "type": "prefix", "value": ""}, {"name": "suffix", "type": "suffix", "value": ""}]Segment configuration (managed by the UI).
    delimiterSTRING_Separator between filename parts.
    sequenceBOOLEANfalseCreate a subfolder with the filename: path/filename/filename
    frame_paddingBOOLEANfalseAppend .%04d frame padding to the filename.

    Outputs (3)

    NameTypeDescription
    pathSTRINGFull generated path (folder + filename).
    folder_pathSTRINGFolder portion of the path.
    filenameSTRINGFilename portion of the path.