ComfyUI > Nodes > ComfyUI-Lora-Manager > Save Image (LoraManager)

ComfyUI Node: Save Image (LoraManager)

Class Name

Save Image (LoraManager)

Category
Lora Manager/utils
Author
willmiao (Account age: 3680days)
Extension
ComfyUI-Lora-Manager
Latest Updated
2025-05-12
Github Stars
0.22K

How to Install ComfyUI-Lora-Manager

Install this extension via the ComfyUI Manager by searching for ComfyUI-Lora-Manager
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Lora-Manager in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Save Image (LoraManager) Description

Facilitates saving images with embedded metadata for AI artists, supporting various formats and quality control.

Save Image (LoraManager):

The Save Image (LoraManager) node is designed to facilitate the saving of images with embedded generation metadata in a format compatible with various image types. This node is particularly beneficial for AI artists who wish to preserve the context and parameters used during image generation, ensuring that the creative process is documented and reproducible. By embedding metadata directly into the image files, this node allows for a seamless integration of workflow details, model information, and other relevant data, making it easier to track and share the creative process. The node supports multiple image formats, including PNG, JPEG, and WebP, and offers options for quality control and metadata embedding, providing flexibility and control over the final output.

Save Image (LoraManager) Input Parameters:

images

This parameter accepts the image data that you wish to save. It is a required input and serves as the primary content that the node will process and store.

filename_prefix

This string parameter allows you to specify a prefix for the saved image filenames. By default, it is set to "ComfyUI". This prefix helps in organizing and identifying images, especially when saving multiple files.

file_format

This parameter lets you choose the format in which the image will be saved. The available options are "png", "jpeg", and "webp". Each format has its own advantages, such as lossless compression for PNG or smaller file sizes for JPEG and WebP.

lossless_webp

A boolean parameter that determines whether the WebP format should be saved in a lossless manner. The default value is False, meaning the image will be compressed to save space unless specified otherwise.

quality

This integer parameter controls the quality of the saved image, with a range from 1 to 100. The default value is 100, indicating the highest quality. Lower values will result in more compression and potentially lower image quality.

embed_workflow

A boolean parameter that specifies whether to embed the workflow metadata into the image. The default is False. Enabling this option allows you to store additional information about the image generation process within the file.

add_counter_to_filename

This boolean parameter, which defaults to True, determines whether a counter should be appended to the filename. This is useful for ensuring unique filenames when saving multiple images in a batch.

prompt

A hidden parameter that stores the prompt used during image generation. It is not directly configurable by the user but is included in the metadata.

extra_pnginfo

Another hidden parameter that contains additional PNG information, such as workflow details. This is used internally to embed extra metadata into the image file.

Save Image (LoraManager) Output Parameters:

images

The output parameter returns the saved image(s) with the embedded metadata. This output is crucial as it provides the final image files that include all the specified details and settings, ready for use or sharing.

Save Image (LoraManager) Usage Tips:

  • To ensure your images are saved with all necessary metadata, enable the embed_workflow option. This will help in preserving the context of your creative process.
  • Use the add_counter_to_filename option to avoid overwriting files when saving multiple images. This is particularly useful when working with batch processes.
  • Adjust the quality parameter according to your needs. For high-quality prints, keep it at 100, but for web use, you might want to lower it to reduce file size.

Save Image (LoraManager) Common Errors and Solutions:

Error saving image: <error_message>

  • Explanation: This error occurs when there is an issue during the image saving process, possibly due to incorrect file paths or unsupported formats.
  • Solution: Ensure that the output directory is correctly set and that the file format is supported. Check for any typos in the filename or path.

Error adding EXIF data: <error_message>

  • Explanation: This error indicates a problem with embedding EXIF metadata into JPEG files, which might be due to incorrect data formatting.
  • Solution: Verify that the metadata being added is correctly formatted and compatible with EXIF standards. If the problem persists, try saving the image without EXIF data to isolate the issue.

Save Image (LoraManager) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Lora-Manager
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

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.