Skip to content

alexmunteanu/comfyui-path-generator

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors