Extensions/comfyui-path-generator
ComfyUI Extension

comfyui-path-generator

A ComfyUI extension with 1 custom node.

By alexmunteanu·Created 2 months ago·Updated 2 months ago· 0
alexmunteanu/comfyui-path-generator
Nodes1
On cloudLocal install
CategoryUtils/Path
Stars0
Updated2 months ago
Readme

Path Generator for ComfyUI

A ComfyUI node that builds output paths from configurable segments, with a live preview and VFX-pipeline conventions. Define folder/prefix/suffix segments, chain them, reorder by drag, and drive any segment's value from an upstream node. Outputs a full path, the folder portion, and the filename separately.

path_generator

What It Does

  • Dynamic segment editor: build a path from Folder, Prefix, and Suffix segments, each with its own name and value
  • Folder chaining: link consecutive folder segments to join them into one folder level with a delimiter
  • Connect upstream values: every segment gets a matching input slot - wire a node to it and the segment's value comes from upstream, overriding the typed value
  • Live preview: the resolved path updates on the node as you type or as connected values change
  • Three outputs: path (folder + filename), folder_path, and filename - use whichever a downstream node needs
  • Folder browser: pick a base output folder from a built-in directory browser
  • Sequence mode: wrap the filename as its own subfolder (.../shot/shot)
  • Frame padding: append .%04d to the filename for image sequences
  • Custom delimiter: choose the separator that joins filename parts
  • No dependencies: pure Python + JavaScript, nothing to pip install

Install

Open ComfyUI Manager, search for "Path Generator", and install.

Manual install and first run: Getting Started

Links