Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates creation of structured HTML gallery for AI-generated images with IDs and prompts, supporting various export formats.
The PromptCombinatorExportGallery
node is designed to facilitate the creation of an HTML gallery that showcases images generated by the Prompt Combinator, along with their corresponding IDs and prompts. This node is particularly useful for AI artists who want to organize and present their generated images in a structured and visually appealing format. By exporting the gallery as an HTML file, you can easily share your work with others or keep a well-organized archive of your creative outputs. The node supports various image export formats and offers the option to embed all images directly within the HTML file, making it versatile and user-friendly.
This parameter allows you to specify a prefix for the filenames of the exported HTML gallery and associated image files. The prefix helps in organizing and identifying the exported files. The default value is "gallery". Only a single prefix is allowed, and it will be sanitized to replace any non-alphanumeric characters with underscores.
This parameter determines the format in which the images will be exported. The available options are ".webp lossy 80", ".webp lossy 90", ".webp lossless", and ".png lossless". The default value is ".webp lossy 90". Choosing the appropriate format can impact the quality and size of the exported images.
This boolean parameter specifies whether all images should be embedded directly within the HTML file. If set to True
, the images will be included as base64-encoded data within the HTML, making the file self-contained. The default value is True
. If set to False
, the images will be saved as separate files, and the HTML will reference these external files.
This parameter accepts a list of images that you want to include in the gallery. Each image must have a batch size of 1. The number of images must match the number of prompts provided.
This parameter accepts a list of prompts corresponding to the images. Each prompt is a string that describes the image. The number of prompts must match the number of images and combination IDs provided. This parameter supports multiline input and requires user input.
This parameter accepts a list of combination IDs generated by the Prompt Combinator. These IDs help in identifying and organizing the images and prompts. The number of combination IDs must match the number of prompts provided.
This node does not produce any direct output parameters. Instead, it generates an HTML file and associated image files (if not embedded) in the specified output directory.
filename_prefix
to easily identify and organize your exported galleries.image_export_format
based on your quality and file size requirements. For high-quality images, consider using ".png lossless".embed_all_images_in_html
to True
can make it easier to distribute a single, self-contained file.embed_all_images_in_html
are provided.embed_all_images_in_html
.© Copyright 2024 RunComfy. All Rights Reserved.