Ino Get Comfy Path
Get ComfyUI's real input/output/temp folders
- path
Every workflow that touches disk eventually needs a real path. You hardcode /home/you/ComfyUI/output/ in a save node, it works for a month, and then you move your install or clone the workflow onto another machine and everything silently writes to the wrong place. Ino Get Comfy Path exists so you never type one of those paths again.
This is one node from the ComfyUI-InoNodes pack, a 125+ node kit that's clearly built for automating pipelines rather than casual one-off generation. It's a two-second utility: you pick which ComfyUI directory you want, it hands you the absolute path. That's the whole job, and it does it well.
How it works
The node takes one input, folder_type, a dropdown with three options: input, output, or temp. Those map to ComfyUI's real directories via the same folder_paths API the built-in loader and saver nodes use - the same place the input tab in your UI shows, where your workflow automatically saves to, and where temp files go.
The single output, path, is a plain STRING with the absolute path. Wire it into anything that takes a string: an Ino file helper, an HTTP call, an Ino Save Text node, or a string-concat node if you need to build a subfolder path like output + "/batch_01".
Why you'd actually reach for it
The useful cases are the boring ones that save you real pain:
- Build output paths dynamically instead of pasting an absolute path into a node.
- Feed the path to InoConvertVideoToMP4 or InoCopyFile so your "move finished files into output" step works no matter where ComfyUI lives.
- Use it in a one-shot automation: get the path, pass it to an API call, done.
Because it's just a string, you can also string it together with the pack's other helpers. That's the real pattern this pack is built around - everything speaks strings and success/message/path outputs so you can chain file operations without any hardcoded machine-specific paths.
Installation
It ships in ComfyUI-InoNodes, so you get it with the whole pack:
- ComfyUI Manager: search for "ComfyUI Ino Nodes", install, restart ComfyUI.
- Manual:
cd ComfyUI/custom_nodes && git clone https://github.com/nobandegani/comfyui_ino_nodes && cd comfyui_ino_nodes && pip install -r requirements.txt, then restart.
The pack needs Python 3.10+, a recent ComfyUI (0.18.1+, it's built on the V3 node schema), and pulls in its core inopyutils dependency. No models, no API keys, no secrets for this node.
Gotchas
One thing to remember: you get the parent directory, not a file. To point at output/mybatch/final.png you need to append the folder and filename yourself (or use one of the file nodes that takes folder and filename separately). It also only resolves the three ComfyUI-managed directories - if you want an arbitrary path outside ComfyUI's tree, this isn't the node for you.
Also worth knowing: the pack stamps every node with an enabled toggle, so if this node ever returns empty, check that first. It's usually the culprit, and it's silent when off.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| folder_type | COMBO | 3 options: input, output, temp |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| path | STRING | — |