ComfyUI Node
π― YFG CivitAI MetaSave
Saves images with full A1111-compatible CivitAI metadata (model, LoRA, embedding hashes, sampler settings, prompts) so CivitAI automatically populates resources and generation info. Supports PNG, JPEG, and WebP. Replaces the two-node SaveImageWithMetaData + CreateExtraMetaData combo.
π― YFG CivitAI MetaSave
- images
βfilename_prefixComfyUIβΊ
βsubdirectory_nameβΊ
βoutput_formatpng_with_jsonβΊ
βqualitymaxβΊ
βmetadata_scopefullβΊ
βinclude_batch_numfalseβΊ
βprefer_nearesttrueβΊ
βextra_key1βΊ
βextra_value1βΊ
βextra_key2βΊ
βextra_value2βΊ
βextra_key3βΊ
βextra_value3βΊ
βextra_key4βΊ
βextra_value4βΊ
CategoryYFG
Inputs (16)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | The images to save. | |
| filename_prefix | STRING | ComfyUI | Prefix for the saved filename. Supports tokens: %date:yyyy-MM-dd%, %seed%, %pprompt:32%, %nprompt:32%, %model%, %width%, %height%. |
| subdirectory_name | STRING | Optional sub-folder inside the output directory. Supports %date:yyyy-MM-dd% tokens. Leave blank for the default output folder. | |
| output_format | COMBO | png_with_json | Image format to save. The *_with_json variants also write a sidecar .json file containing the raw workflow. |
| quality | COMBO | max | Output quality: max=100 (lossless WebP), high=80, medium=60, low=30. Ignored for PNG. |
| metadata_scope | COMBO | full | full β A1111 parameters + full ComfyUI workflow default β same as the built-in SaveImage node parameters_only β A1111-style parameters string only workflow_only β ComfyUI workflow JSON only none β no metadata embedded |
| include_batch_num | BOOLEAN | false | Append a 5-digit batch index to the filename when saving multiple images. |
| prefer_nearest | BOOLEAN | true | When multiple upstream nodes provide the same field, prefer the one closest (fewest hops) to this node. |
| extra_key1opt | STRING | Custom metadata key 1 | |
| extra_value1opt | STRING | Custom metadata value 1 | |
| extra_key2opt | STRING | Custom metadata key 2 | |
| extra_value2opt | STRING | Custom metadata value 2 | |
| extra_key3opt | STRING | Custom metadata key 3 | |
| extra_value3opt | STRING | Custom metadata value 3 | |
| extra_key4opt | STRING | Custom metadata key 4 | |
| extra_value4opt | STRING | Custom metadata value 4 |
Outputs (0)
No outputs