Koala Save Image Anywhere
Want renders somewhere other than ComfyUI's output folder? This is the node
- images
- file_path
The stock Save Image node always writes into ComfyUI/output, organized into timestamped subfolders. That's fine until it isn't - until you want every render for one project in one folder, or you need files to land somewhere ComfyUI's gallery never looks. Koala Save Image Anywhere is the escape hatch: pick any absolute directory, and your render goes there as a PNG or JPEG. It's a small utility, but it's the one I'd reach for when the output folder isn't where I need the file to be.
How it works
It takes an IMAGE, makes sure your target directory exists (creating it if needed), converts the tensor to a PIL image, and writes the file with the filename and format you asked for. Then it returns the full saved path as a file_path string - handy if you're building something that chains off the result.
The inputs that matter
images: the image tensor to save.save_directory: the absolute folder. Default isC:/output, which is a Windows path. On Linux or macOS, leave it alone and the node will happily create a literal folder namedC:inside your ComfyUI working directory. Set this to a real absolute path every time.filename: the base name. The node strips any extension you type, so "portrait.png" becomes "portrait" and it appends the real one.file_format:pngorjpg.quality(1–100, default 95): only actually applies to JPEG. PNG saves are lossless and ignore it.
One output: file_path, the string of wherever the file landed.
Where people get burned
Two real gotchas, both from reading the code. First, it saves only the first image in the batch - images[0]. Feed it a batch of four and three of them vanish into the void. If you're generating batches, save each element separately or stick with the stock node. Second, the C:/output default I already yelled about. Permissions errors on a system folder are the other classic: pick a directory you can actually write to.
Install
No extra Python deps - torch, numpy and Pillow are already part of ComfyUI. The README says ComfyUI Manager support is "coming soon," so clone it manually:
cd ComfyUI/custom_nodes
git clone https://github.com/cloudkoala/comfyui-koala.git
Restart and you'll find "Koala Save Image Anywhere" under the Koala category. It shares its pack with the Koala aspect-ratio and mesh-save nodes.
A word of restraint
There's a broader ecosystem argument about "save anywhere" style nodes worth hearing before you build your whole workflow around them: the community has pushed back on anything-goes routing nodes because they make graphs hard to debug and workflows break when they're hidden inside a chain. Use this deliberately - when you genuinely need the file in a specific folder - rather than as a default substitute for Save Image. The stock node feeds the frontend gallery, which is often what you actually want.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| save_directory | STRING | C:/output | — |
| filename | STRING | image | — |
| file_format | COMBO | 2 options: png, jpg | |
| quality | INT | 951–100 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| file_path | STRING | — |