Visit ComfyUI Online for ready-to-use ComfyUI environment
SaveMetaData node saves image metadata to text file for AI artists, ensuring reproducibility and organization.
The SaveMetaData node is designed to save metadata associated with an image into a text file. This node is particularly useful for AI artists who want to keep track of various metadata elements such as prompts and additional information (extra_pnginfo) used during the creation of an image. By saving this metadata, you can easily reference the parameters and settings used in your creative process, ensuring reproducibility and better organization of your work. The node allows for customization of the filename with options to include a timestamp and a counter, making it easier to manage and identify saved metadata files.
This parameter represents the image whose metadata you want to save. It is essential as the metadata saved will be associated with this specific image.
This is a string parameter that allows you to specify a prefix for the filename of the saved metadata file. This helps in organizing and identifying the metadata files. The default value is an empty string.
This parameter is a boolean option (true or false) that determines whether to include a timestamp in the filename. Including a timestamp can help in tracking when the metadata was saved. The default value is true.
This parameter is a boolean option (true or false) that determines whether to include a counter in the filename. This is useful for distinguishing between multiple metadata files saved with the same prefix. The default value is true.
This hidden parameter contains the prompt information used during the creation of the image. It is automatically handled by the node and does not require manual input.
This hidden parameter contains additional metadata information. Like the prompt parameter, it is automatically handled by the node and does not require manual input.
This node does not produce any direct output parameters. Instead, it performs the action of saving metadata to a text file and returns a dictionary containing the filename and subfolder where the metadata file is saved.
filename_prefix is descriptive enough to help you identify the metadata file later.timestamp_prefix and counter options to avoid overwriting existing metadata files and to keep track of different versions.extra_pnginfo or prompt parameter is None and the code attempts to iterate over it.extra_pnginfo and prompt are properly initialized and not None before passing them to the node.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.