Visit ComfyUI Online for ready-to-use ComfyUI environment
Manages and tracks metadata for prompt requests, creating a JSON file for structured record-keeping and easy access.
The CreateRequestMetadata node is designed to manage and track metadata for prompt requests within your workflow. This node creates a JSON file that stores information about the state and outputs of a request, ensuring that all relevant data is systematically recorded and easily accessible. It provides static methods to access and modify this JSON file, allowing you to add resources, update the request state, and retrieve metadata as needed. The primary goal of this node is to maintain a structured and organized record of each request, which is crucial for managing complex workflows and ensuring consistency. It is important to note that only one instance of this node should be present in a prompt to avoid conflicts.
The request_id parameter is a string that uniquely identifies the request. It is essential for tracking and managing the metadata associated with a specific request. The request_id must be set correctly to avoid conflicts with subsequent requests. The default value is "insert_id", which should be replaced with a unique identifier for each request. If the request_id is not set or is empty, the node will raise an error, indicating that the request ID is missing or improperly set.
This node does not produce any direct output parameters. Instead, it updates the metadata JSON file with the relevant information about the request's state and outputs.
request_id is unique for each request to avoid conflicts and ensure accurate tracking of metadata.CreateRequestMetadata node in your workflow to prevent conflicts and ensure that the metadata is accurately recorded.request_id parameter is not properly set and retains its default value of "insert_id".request_id for each request to avoid this error.request_id for the current request is the same as a previously set ID, which can cause conflicts in metadata tracking.request_id to prevent this issue.<filename>request_id is set and that the metadata file is created and accessible in the specified directory.request_id was not set, possibly because the CreateRequestMetadata node is missing from the workflow.CreateRequestMetadata node in your workflow and set a valid request_id.request_id is set to an empty string, which can lead to conflicts with other requests.request_id is properly set to a non-empty, unique value for each request.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.