ComfyUI > Nodes > TrentNodes > Custom Filename Generator

ComfyUI Node: Custom Filename Generator

Class Name

CustomFilenameGenerator

Category
Trent/Utilities
Author
TrentHunter82 (Account age: 0days)
Extension
TrentNodes
Latest Updated
2026-03-20
Github Stars
0.03K

How to Install TrentNodes

Install this extension via the ComfyUI Manager by searching for TrentNodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter TrentNodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Custom Filename Generator Description

CustomFilenameGenerator: Streamlines creation of structured filenames with customizable formats for organized project management.

Custom Filename Generator:

The CustomFilenameGenerator is a versatile node designed to streamline the process of creating structured and meaningful filenames for your projects. This node is particularly beneficial for artists and teams working in collaborative environments where consistent naming conventions are crucial. By allowing you to define a custom format for filenames, it ensures that all project files are easily identifiable and organized. The node generates filenames based on a predefined format that includes components such as project name, sequence, shot, department, workflow, pass name, artist initials, and version. This structured approach not only enhances file management but also reduces the risk of errors and confusion in large-scale projects. The node's ability to customize separators and enforce uppercase formatting further adds to its flexibility, making it an essential tool for maintaining order and clarity in your creative workflows.

Custom Filename Generator Input Parameters:

project

The project parameter represents the name or code of the project you are working on. It serves as the initial component of the filename, helping to categorize files by project. The default value is "PROJ", and it is a string input that does not support multiline entries.

sequence

The sequence parameter is used to identify the sequence within the project. This helps in organizing files related to specific sequences, making it easier to locate and manage them. The default value is "SEQ", and it is a string input that does not support multiline entries.

shot

The shot parameter specifies the shot identifier within a sequence. It is crucial for distinguishing between different shots in a sequence, ensuring that each file is correctly associated with its respective shot. The default value is "SHOT", and it is a string input that does not support multiline entries.

department

The department parameter indicates the department responsible for the file, such as VFX, COMP, or ANIM. This helps in categorizing files based on the department, facilitating better organization and retrieval. The default value is "DEPT", and it is a string input that does not support multiline entries.

workflow

The workflow parameter identifies the workflow or process associated with the file. It aids in tracking the file's progress through different stages of production. The default value is "WORKFLOW", and it is a string input that does not support multiline entries.

pass_name

The pass_name parameter denotes the pass name, such as beauty, shadow, or reflection. This is useful for distinguishing between different render passes or layers within a shot. The default value is "PASS", and it is a string input that does not support multiline entries.

initials

The initials parameter captures the artist's initials, providing a personal identifier for the file. This is particularly useful in collaborative environments where multiple artists work on the same project. The default value is "AB", and it is a string input that does not support multiline entries.

version

The version parameter specifies the version of the file, allowing for version control and easy identification of the latest file iteration. The default value is "v001", and it is a string input that does not support multiline entries.

separator

The separator parameter defines the character used to separate different components in the filename. It allows for customization of the filename format to suit specific preferences or standards. The default value is "_", and it is a string input that does not support multiline entries.

force_uppercase

The force_uppercase parameter is a boolean option that determines whether all components of the filename should be converted to uppercase. This can help maintain consistency and readability across filenames. The default value is True.

Custom Filename Generator Output Parameters:

filename

The filename output parameter provides the generated filename as a single string. This filename is constructed based on the input parameters and follows the specified format, ensuring that it is both meaningful and consistent. The output is crucial for file organization and management, as it encapsulates all relevant information in a structured manner.

Custom Filename Generator Usage Tips:

  • To maintain consistency across your project files, ensure that all team members use the same input values for parameters like project, sequence, and department.
  • Utilize the version parameter effectively to keep track of different iterations of your files, making it easier to identify the latest version.
  • Consider using the force_uppercase option to enhance the readability of filenames, especially in environments where case sensitivity might lead to confusion.

Custom Filename Generator Common Errors and Solutions:

Missing or Empty Input Values

  • Explanation: If any required input parameter is missing or left empty, the node may not generate a valid filename.
  • Solution: Ensure that all required input parameters are provided with valid, non-empty values before executing the node.

Invalid Separator Character

  • Explanation: Using a separator character that is not allowed in filenames (such as \ or /) can cause errors.
  • Solution: Choose a separator character that is valid for filenames, such as an underscore _ or a dash -.

Filename Too Long

  • Explanation: If the generated filename exceeds the maximum length allowed by the operating system, it may not be saved correctly.
  • Solution: Shorten the input values or use a shorter separator to reduce the overall length of the filename.

Custom Filename Generator Related Nodes

Go back to the extension to check out more related nodes.
TrentNodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Custom Filename Generator