Skip to main content
The SaveImage node saves the input images as PNG files to your ComfyUI output directory. It can embed workflow metadata, such as the prompt, into each saved file, and it returns the images unchanged so they can still be used by other nodes.

Inputs

The node also receives two hidden inputs, prompt and extra_pnginfo, which are automatically populated by ComfyUI with the workflow prompt and extra PNG information. When metadata is enabled, this information is embedded as text metadata in each saved PNG file. The file name for each saved image is built from filename_prefix, an optional %batch_num% placeholder that is replaced with the image’s position in the batch, and a five-digit counter, for example ComfyUI_00001_.png. Images are written with PNG compression level 4.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 4a718495fd0801304d2bc3afee859e6b9839f9aba8e929bb9ba90ae6a229a750