ComfyUI Node
CiviScribe - Save Image for Civitai
Saves PNG, JPEG, or WebP images to ComfyUI's output directory. Writes Civitai-compatible metadata while preserving pixels-first saving.
CiviScribe - Save Image for Civitai
- images
- Images
◄filename_prefixComfyUI►
◄output_formatpng►
◄jpeg_quality100►
◄jpeg_alpha_background#FFFFFF►
◄webp_losslesstrue►
◄webp_quality100►
◄write_sidecar_jsonfalse►
◄include_workflowtrue►
◄include_civitai_manifesttrue►
◄enable_civitai_lookupfalse►
◄preferred_primary_model_air►
◄hashing_modecached_or_fast►
◄lookup_timeout_seconds4.0►
◄lookup_cache_resultstrue►
◄advanced_manual_identities_enabledfalse►
◄manual_resource_identities_json[]►
◄positive_prompt_override—►
◄negative_prompt_override—►
CategoryCCollins/CiviScribe
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | Images to save. | |
| filename_prefix | STRING | ComfyUI | Filename or safe subfolder pattern. Supports ComfyUI %date:FORMAT% and %Node name.widget_name% replacements; %year%, %month%, %day%, %hour%, %minute%, %second%, %width%, %height%, and %batch_num%; plus CiviScribe %model%, %seed%, and %sampler% aliases. |
| output_format | COMBO | png | Image format. PNG and WebP are lossless by default; JPEG is lossy. |
| jpeg_quality | INT | 1001–100 | JPEG fidelity. 100 is the maximum-fidelity default. |
| jpeg_alpha_background | STRING | #FFFFFF | RGB background used when JPEG must flatten transparent pixels. |
| webp_lossless | BOOLEAN | true | Use decoded-pixel-preserving WebP encoding. |
| webp_quality | INT | 1000–100 | WebP compression effort or lossy quality. |
| write_sidecar_json | BOOLEAN | false | Also write deterministic metadata JSON beside each saved image. |
| include_workflow | BOOLEAN | true | Embed the sanitized ComfyUI API prompt graph and UI workflow graph. Turn this off to omit both graph payloads from the image and sidecar. |
| include_civitai_manifest | BOOLEAN | true | Include the structured Civitai manifest in rich metadata and sidecars. |
| enable_civitai_lookup | BOOLEAN | false | Ask Civitai to identify active resources from hashes. Only hashes or a model-version ID are sent; images, prompts, workflows, and paths are not. |
| preferred_primary_model_air | STRING | Optional AIR, Civitai model URL, or model-version ID that pins the active primary model identity. | |
| hashing_mode | COMBO | cached_or_fast | cached_only reads no model bytes; cached_or_fast uses caches and fast hashes; full may read whole model files. |
| lookup_timeout_seconds | FLOAT | 4.01–30 | Maximum Civitai lookup wait. Saving continues after a timeout. |
| lookup_cache_results | BOOLEAN | true | Store successful identities locally so later saves can resolve them without another request. |
| advanced_manual_identities_enabled | BOOLEAN | false | Enable the advanced JSON mapping for pinning identities of multiple active resources. |
| manual_resource_identities_json | STRING | [] | Advanced JSON list of explicit resource identity mappings. Invalid data is reported safely and never blocks image saving. |
| positive_prompt_overrideopt | STRING | Connect the final positive prompt string actually sent to the active text encoder when an LLM, wildcard, switch, or custom node creates it at runtime. This changes metadata only, not generation. | |
| negative_prompt_overrideopt | STRING | Connect the final negative prompt string actually sent to the active text encoder when a runtime node builds it dynamically. This changes metadata only, not generation. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| Images | IMAGE | Original image tensor passed through unchanged. |