ComfyUI > Nodes > ComfyUI-TinyBreaker > 💪TB | Save Image

ComfyUI Node: 💪TB | Save Image

Class Name

SaveImage __TinyBreaker

Category
💪TinyBreaker
Author
martin-rizzo (Account age: 1928days)
Extension
ComfyUI-TinyBreaker
Latest Updated
2025-05-04
Github Stars
0.03K

How to Install ComfyUI-TinyBreaker

Install this extension via the ComfyUI Manager by searching for ComfyUI-TinyBreaker
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-TinyBreaker 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

💪TB | Save Image Description

Save generated images with embedded metadata in A1111/CivitAI format within PNG files for AI artists to preserve image generation context and parameters.

💪TB | Save Image:

The SaveImage __TinyBreaker node is designed to save generated images to disk while embedding metadata in the A1111/CivitAI format within PNG files. This functionality is particularly beneficial for AI artists who wish to preserve the context of their image generation process, as it allows for the easy extraction of prompts and settings using widely available tools. By embedding metadata directly into the image file, this node ensures that all relevant generation parameters are stored alongside the image, facilitating future reference and reproduction of the creative process. This node is part of the TinyBreaker suite, which is tailored to enhance the capabilities of the hybrid TinyBreaker model, combining the strengths of PixArt and Stable Diffusion (SD).

💪TB | Save Image Input Parameters:

images

This parameter represents the images that you want to save. It is crucial as it determines the content that will be stored on disk. The images are processed and saved in PNG format, which supports metadata embedding. There are no specific minimum or maximum values for this parameter, but it is essential to ensure that the images are in a compatible format for processing.

filename_prefix

The filename_prefix parameter allows you to specify a prefix for the saved file names. This prefix can include formatting information, such as date or image dimensions, using placeholders like %date:yyyy-MM-dd% or %Empty Latent Image.width%. This feature provides flexibility in organizing and naming your files systematically. The default value for this parameter is "TinyBreaker," but you can customize it to suit your organizational needs.

genparams

This optional parameter allows you to input generation parameters that will be embedded in the image using the A1111/CivitAI format. By including this information, you can preserve the specific settings used during the image generation process, which can be invaluable for future reference or replication. While this parameter is optional, providing it enhances the metadata richness of the saved images.

💪TB | Save Image Output Parameters:

ui

The output parameter ui provides information about the saved images, including their filenames, subfolder locations, and types. This output is essential for verifying that the images have been saved correctly and for locating them on your disk. It helps you keep track of the saved files and ensures that the metadata embedding process was successful.

💪TB | Save Image Usage Tips:

  • To maintain a well-organized file system, use the filename_prefix parameter to include dynamic information such as dates or image dimensions, which can help in categorizing and retrieving files later.
  • When working on projects that require precise replication of image generation settings, always provide the genparams input to embed comprehensive metadata within your images.
  • Regularly check the ui output to confirm that your images are saved in the correct location and that the metadata has been embedded as expected.

💪TB | Save Image Common Errors and Solutions:

FileNotFoundError

  • Explanation: This error occurs when the specified directory for saving images does not exist.
  • Solution: Ensure that the output directory specified in your settings exists and is accessible. Create the directory if it does not exist.

PermissionError

  • Explanation: This error indicates that the node does not have the necessary permissions to write files to the specified directory.
  • Solution: Check the permissions of the output directory and ensure that the application has write access. Adjust the permissions if necessary.

ValueError: Invalid Image Format

  • Explanation: This error arises when the input images are not in a compatible format for processing and saving.
  • Solution: Verify that the images provided to the node are in a supported format, such as a NumPy array that can be converted to a PIL Image. Convert the images to a compatible format if needed.

💪TB | Save Image Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-TinyBreaker
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.