Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates image generation and saving with prompts for AI artists, supports metadata embedding.
The PromptImage
node is designed to facilitate the generation and saving of images based on provided prompts. This node is particularly useful for AI artists who want to create and store images with associated metadata, such as prompt text. By leveraging this node, you can streamline the process of saving generated images with relevant information embedded within the image files. This ensures that the context of the image creation is preserved, making it easier to reference and organize your work. The node supports saving images with or without embedding the prompt text as metadata, providing flexibility based on your needs.
This parameter accepts a string input that contains the prompts used to generate the images. The prompts can be multiline, allowing for detailed descriptions or multiple prompts. The default value is an empty string. This parameter is crucial as it provides the context and instructions for the image generation process.
This parameter accepts image data in the form of tensors. It is the core input that the node processes and saves. The default value is None
, indicating that you need to provide the images to be saved. The images parameter directly impacts the output, as it determines the visual content that will be saved to disk.
This parameter is a toggle with two options: "enable" and "disable". When set to "enable", the node will embed the prompt text as metadata within the saved image files. When set to "disable", the images will be saved without any embedded metadata. This parameter allows you to choose whether to include additional context within the image files themselves.
This node does not have explicit output parameters defined in the RETURN_TYPES. However, it performs the action of saving images to a specified directory and returns a dictionary containing UI elements and prompts for further use in the workflow.
images
parameter is None
or empty.images
parameter before running the node.prompts
parameter contains invalid or improperly formatted text.© Copyright 2024 RunComfy. All Rights Reserved.