Make Paths
Keep every experiment's files out of each other's way
- video_path
- frames_path
- smoothed_frames_path
This is a pure convenience node, and it exists because ComfyWarp workflows sprawl. You end up with a video input, a frames folder, a smoothed-frames folder, and an output folder, and if you hardcode all of those as separate strings, the next experiment overwrites the last one. MakePaths just computes three related paths from a root and a few names, so one experiment lives entirely inside one folder and nothing collides.
Give it a root_path (default ./ - the ComfyUI working directory) and an experiment name, and it builds a base of root/experiment. Then three more inputs - video, frames, smoothed, each defaulting to its obvious name - become the subfolder names under that base. The outputs are video_path, frames_path, and smoothed_frames_path, each the joined path, returned as plain strings ready to plug into MakeFrameDataset, SaveFrame, LoadFrameFromFolder, or RenderVideo.
That's the whole mechanism: os.path.join three times, nothing created, nothing verified. It doesn't make folders or check they exist - the consuming nodes create what they need. It's the "declare your layout once" node, and the win is that changing the experiment name from experiment to ink_run_03 re-points every downstream path in one edit instead of five.
The smoothed path exists because the flow-blend concept treats "smoothed" frames (the consistency-blended output) as a distinct artifact from raw stylized frames - even if your current graph doesn't use it, the path is there so the layout matches the intended pipeline. Honestly, if you prefer to type paths yourself or use ComfyUI's folder-picker widgets, you can skip this node entirely - it adds zero magic. But if you're running a batch of experiments and want your outputs to stop piling into one folder, it's a tidy little guardrail.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| root_path | STRING | ./ | — |
| experiment | STRING | experiment | — |
| video | STRING | video | — |
| frames | STRING | frames | — |
| smoothed | STRING | smoothed | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| video_path | STRING | — |
| frames_path | STRING | — |
| smoothed_frames_path | STRING | — |