Project:
The ComfyTV.ProjectStage node is designed to serve as a foundational element within the ComfyTV workflow, acting as a central hub for managing project-specific information. This node is crucial for organizing and maintaining the integrity of your project data, ensuring that all related processes are aligned with the current project context. By encapsulating project identifiers and metadata, it facilitates seamless integration and persistence of project details across various stages of your workflow. This node is particularly beneficial for users who need to manage multiple projects simultaneously, as it provides a structured approach to handle project-specific configurations and metadata, thereby enhancing the overall efficiency and coherence of your creative process.
Project Input Parameters:
project_id
The project_id parameter is a string input that uniquely identifies the current project within the ComfyTV workflow. It is bound to the projectStore.currentProjectId and is persisted with the workflow, ensuring that the project context is maintained across sessions. This parameter does not have a default value, as it is expected to be provided by the user or the system managing the projects. It plays a critical role in distinguishing between different projects and ensuring that the correct data and configurations are applied.
project_name
The project_name parameter is a string input that serves as a display label for the current project. This parameter allows users to assign a human-readable name to their project, making it easier to identify and manage within the ComfyTV interface. Like project_id, this parameter does not have a default value and is intended to be set by the user. It enhances the user experience by providing a clear and descriptive label for each project.
schema_version
The schema_version parameter is an integer input that marks the version of the ComfyTV workflow schema being used. It has a default value set to COMFYTV_SCHEMA_VERSION, with a minimum value of 0 and a maximum value of 2,147,483,647. This parameter is hidden from the user interface but is crucial for ensuring compatibility between the workflow and the current schema version. If the loaded schema version differs from the current one, the frontend will issue a warning, alerting users to potential compatibility issues.
Project Output Parameters:
The ComfyTV.ProjectStage node does not produce any direct output parameters. Its primary function is to manage and maintain project-specific metadata within the workflow, rather than generating output data.
Project Usage Tips:
- Ensure that the
project_idis unique for each project to avoid conflicts and ensure that the correct data is associated with each project. - Regularly update the
project_nameto reflect the current status or phase of your project, which can help in organizing and managing multiple projects effectively.
Project Common Errors and Solutions:
Schema version mismatch
- Explanation: This error occurs when the schema version of the loaded workflow does not match the current
COMFYTV_SCHEMA_VERSION. - Solution: Update your workflow to be compatible with the current schema version or adjust the
schema_versionparameter to match the version of your workflow.
Missing project_id
- Explanation: This error arises when the
project_idis not provided, leading to issues in identifying and managing the project. - Solution: Ensure that a valid
project_idis assigned to each project to maintain proper project management and data integrity.
