Visit ComfyUI Online for ready-to-use ComfyUI environment
Save images conditionally based on specified criteria, include prompt data and metadata for tracking and reproduction.
The Save Image With Prompt Data node is designed to save images conditionally based on a specified save condition. This node is particularly useful for AI artists who want to automate the process of saving generated images only when certain criteria are met. By leveraging this node, you can ensure that only the images meeting your predefined conditions are saved, thereby optimizing your workflow and storage management. The node also allows you to include prompt data and additional metadata in the saved images, which can be beneficial for tracking and reproducing specific image generation settings.
This parameter represents the image to be potentially saved. It is the core input for the node and should be provided in the appropriate format expected by the node.
The save_condition parameter determines whether the image will be saved or not. It accepts an integer value where 0 means the image will not be saved, and 1 means the image will be saved. The default value is 0, ensuring that images are not saved unless explicitly specified.
This parameter allows you to specify a prefix for the filename of the saved image. It accepts a string value and can be used to organize and identify saved images more effectively. The default value is an empty string.
This hidden parameter is used to include the prompt data associated with the image generation. It is not required to be set manually as it is handled internally by the node.
This hidden parameter is used to include additional metadata in the saved image. Similar to the prompt parameter, it is managed internally and does not require manual input.
This node does not produce any direct output parameters. Instead, it performs the action of saving the image based on the specified conditions and parameters.
© Copyright 2024 RunComfy. All Rights Reserved.