Visit ComfyUI Online for ready-to-use ComfyUI environment
Load images with associated metadata for AI art projects, extracting and processing embedded information for analysis and refinement.
The Load Image With Metadata JK node is designed to load an image along with its associated metadata, providing a seamless way to incorporate both visual and textual data into your AI art projects. This node not only loads the image but also extracts and processes any embedded metadata, such as prompts and settings, which can be crucial for understanding the context and parameters used during the image's creation. By leveraging this node, you can ensure that all relevant information is preserved and accessible, enhancing your ability to analyze and refine your work.
This parameter specifies the path to the image file you wish to load. It can be a direct file path or a reference to a pre-annotated file within the system. The image file should be in a format supported by the PIL library, such as JPEG or PNG. The correct path ensures that the node can locate and load the image successfully.
This boolean parameter determines whether the node should also load and process the metadata embedded within the image file. If set to True, the node will extract metadata such as positive and negative prompts and settings, providing a comprehensive context for the image. If set to False, only the image will be loaded without any metadata. The default value is True.
This output is a tuple containing the loaded image tensor, a mask tensor, and the extracted prompt. The image tensor represents the pixel data of the loaded image, normalized to a range of 0 to 1. The mask tensor indicates the alpha channel of the image, if present, or a default mask if not. The prompt is a string containing the positive and negative prompts and settings extracted from the metadata.
This output provides a dictionary with the extracted metadata, organized into text fields for easy access. It includes the positive prompt, negative prompt, and settings, allowing you to review and utilize this information directly within your user interface.
load_metadata to True if you need to utilize the metadata for further processing or analysis.ui output to quickly review the extracted metadata and make any necessary adjustments to your workflow.load_metadata parameter is set to True. If the issue persists, check the image file for any corruption or inconsistencies.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.