Visit ComfyUI Online for ready-to-use ComfyUI environment
Save generated images with options for output directory selection and permanency control in ComfyUI.
The JNodes_SaveImageWithOutput
node is designed to save images generated within the ComfyUI framework, providing an option to save these images to a specified output directory or a temporary directory. This node extends the functionality of the SaveImage
class, adding the capability to control whether the images are saved permanently or temporarily. It is particularly useful for AI artists who need to manage their image outputs efficiently, allowing them to specify a filename prefix and decide if the images should be saved to the final output directory or a temporary location. This flexibility helps in organizing and managing generated images, especially during iterative creative processes.
This parameter accepts the images that you want to save. The images should be in the format expected by the ComfyUI framework, typically as tensors or arrays. This parameter is essential as it provides the actual content that will be saved by the node.
This is a boolean parameter that determines whether the images should be saved to the final output directory or a temporary directory. If set to True
, the images will be saved to the output directory specified by the ComfyUI framework. If set to False
, the images will be saved to a temporary directory. The default value is False
.
This parameter allows you to specify a prefix for the filenames of the saved images. This can be useful for organizing and identifying images, especially when generating multiple sets of images. The default value is "ComfyUI"
.
This hidden parameter can be used to include a prompt in the metadata of the saved images. It is not required for the basic operation of the node but can be useful for keeping track of the prompts used to generate the images.
This hidden parameter allows you to include additional metadata in the saved images. It accepts a dictionary of key-value pairs that will be embedded in the image files. This can be useful for storing extra information about the images, such as generation settings or other relevant data.
The output of this node is the saved image(s). The images are returned in the same format as they were input, allowing for further processing or display within the ComfyUI framework. This output is essential for verifying that the images have been saved correctly and for any subsequent operations that need to be performed on the images.
filename_prefix
parameter to categorize different sets of images.save_to_output
to False
to save images temporarily and avoid cluttering your output directory.prompt
and extra_pnginfo
parameters to embed useful metadata in your images, which can help in tracking the generation process and settings used.prompt
and extra_pnginfo
parameters are correctly formatted and contain valid data. Ensure that the metadata does not exceed any size limits imposed by the image format.© Copyright 2024 RunComfy. All Rights Reserved.