ComfyUI-ImageMetadataExtension
Custom node for ComfyUI. It adds additional metadata for saved images, ensuring compatibility with the Civitai website.
This is a fork of nkchocoai/ComfyUI-SaveImageWithMetaData.
Key differences:
- Simplified the node by removing unnecessary fields for general use.
- Included metadata for Lora weights.
- The
save_promptoption is set totrueby default. When set tofalse, positive and negative prompts are excluded from the additional metadata. Lora weights will not be included in the prompt, but Lora sources will still be listed. Set it tofalseif you don't want to share your prompt.
Installation
Recommended Installation
Use the ComfyUI-Manager to install.
ComfyUI-ImageMetadataExtension
Manual Installation
- Navigate to the
custom_nodesdirectory inside your ComfyUI folder. - Clone this repository:
cd <ComfyUI directory>/custom_nodes
git clone https://github.com/edelvarden/ComfyUI-ImageMetadataExtension.git
Usage
Basic usage looks like (workflow.json):
Lora strings are automatically added to the prompt area, allowing the Civitai website to understand the weights you used. Other metadata is also successfully included.


