Generic Image File Namer v1.0 - Akki
Build the file prefix that keeps every render organized
- filename_prefix_out
The Generic Image File Namer v1.0 is a tiny node that does one useful thing: it constructs the standardized filename prefix ComfyUI's own Save Image nodes expect, so every render lands in the right project folder with the right shot name in the filename. It's the quiet utility that keeps the Akki pipeline's image output organized - no LLM, no tensor math, just string assembly. The kind of node you barely notice until it's missing.
What it builds
Given project_path (e.g., AKKILLM/Project01), image_subfolder (default Shots), shot_name (e.g., 1A), and filename_prefix (default FinalRender), it returns a filename_prefix_out string like:
AKKILLM/Project01/Shots/FinalRender_1A_2025-07-24
The shot name gets sanitized (invalid filename characters replaced with underscores) and the current date is appended for versioning. That output feeds directly into a Save Image node's filename_prefix input - ComfyUI handles the rest, adding its own counter and subfolder handling.
Inputs and outputs
Four string inputs: project_path, image_subfolder, shot_name, filename_prefix. One string output: filename_prefix_out. Wire it into a Save Image node's filename prefix field, and your renders automatically get a consistent, dated, shot-tagged naming scheme.
The source also guards against feeding it garbage: if shot_name is empty or starts with ERROR: (which is how other Akki nodes signal failure), it returns ERROR_CHECK_CONSOLE instead of building a bogus path. So a broken upstream shot selector shows up as a broken filename rather than a silently misplaced render.
Install
Standard pack install:
cd ComfyUI/custom_nodes
git clone https://github.com/routhakash/AkkiNodes-LLM-Suite-for-ComfyUI
Or ComfyUI Manager → search "AkkiNodes LLM Suite" → install, run install.bat as admin on Windows, restart. No GGUF needed for this node - it's pure utility.
Honestly, this node exists because the Akki workflow saves a lot of images across many shots, and hand-typing per-shot prefixes is exactly the kind of friction the pack is trying to remove. If you're building your own pipeline and you're already saving with a naming convention, you can skip it - but in the full workflow it's the piece that makes the Generic Image Loader's "find the latest render" round-trip work, because it guarantees the filenames line up.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| project_path | STRING | — | |
| image_subfolder | STRING | Shots | — |
| shot_name | STRING | — | |
| filename_prefix | STRING | FinalRender | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| filename_prefix_out | STRING | — |