ComfyOnline
ComfyUI-ImageMetadataExtension

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_prompt option is set to true by default. When set to false, 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 to false if you don't want to share your prompt.

Installation

Recommended Installation

Use the ComfyUI-Manager to install.

ComfyUI-ImageMetadataExtension

Manual Installation

  1. Navigate to the custom_nodes directory inside your ComfyUI folder.
  2. Clone this repository:
 cd <ComfyUI directory>/custom_nodes
 git clone https://github.com/edelvarden/ComfyUI-ImageMetadataExtension.git

Usage

Basic usage looks like (workflow.json):

workflow-preview

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.

website-preview