π± PROJECT PREFIX
Sane output naming without a renaming script
- prefix
- seed
- datetime
After a week of generating, your ComfyUI output folder is a landfill of ComfyUI_00042_.png files, and finding the one good render means opening half of them. Project Prefix is the pack's answer to that: one node that builds a descriptive filename prefix - project, date, seed, model, media type - so every saved file tells you what it is without ever opening it.
It's from Artha-Projekt, a small project-management pack by GitHub user Cyrostar. Small and barely discussed in the community, but this is the node the whole pack is built around, and it slots straight into a workflow you probably already have.
How it works
Project Prefix reads the project metadata from a shared dictionary that Project Setup (same pack) writes to - the project name, category, and type - then bolts on its own fields to produce something like:
Youtube/Shorts/Fun/Episode-DATE-2026-08-16-14-03-22-SEED-42-MODEL-Flux-IMG
That's the prefix output: ProjectName/Category/Type/Title-DATE-<timestamp>-SEED-<seed>-MODEL-<model>-IMG. Feed it into the filename_prefix input of a Save Image (or Save Video) node, and your files start landing in nested folders with everything identifiable at a glance.
The other two outputs are simpler than they look: seed just passes your file_seed straight through - handy if you want one node to drive both the filename and the KSampler. And datetime is the same YYYY-MM-DD-HH-MM-SS timestamp that went into the filename, in case you want it printed or logged elsewhere.
The inputs you'll actually touch
file_title- the short name for this specific render (default "Artha").file_model- a label for the model, not an actual model file (default "Flux"). It's free text, so "Flux-dev" or "Qwen-Image" or whatever you like.file_media-image,video, ornone; decides whether the filename ends in-IMG,-VID, or a bare dash.file_seed- the seed that gets baked into the name and echoed out of theseedoutput.
The gotchas
The big one: this node depends on Project Setup having run first. There's no wire between them - they communicate through in-memory shared state. If Setup isn't in your graph, or executes after Prefix, the prefix silently starts without the project path. Put Setup earlier in the workflow.
Also, everything is run through a filename sanitizer that turns spaces into underscores and strips characters that aren't letters, numbers, underscores, or hyphens. "Episode 7 - Final" becomes Episode_7_Final. That's usually desirable - it's what keeps the paths filesystem-safe - just don't expect your punctuation to survive.
And note the media suffix is a tag, not an extension. Your files will still be .png or .mp4 from the save node; the prefix only handles the naming.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/Cyrostar/Artha-Projekt
Restart, or search "Artha-Projekt" in ComfyUI Manager. Zero Python dependencies, no model downloads, no keys. It only touches folder_paths and the standard library, so install is genuinely one step and nothing can conflict with your existing environment.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| file_title | STRING | Artha | β |
| file_model | STRING | Flux | β |
| file_media | COMBO | image | 3 options: image, video, none |
| file_seed | INT | 420β18446744073709550000 | β |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| prefix | STRING | β |
| seed | INT | β |
| datetime | STRING | β |