Nodes/ccollins-civiscribe/CiviScribe - Save Image for Civitai
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.

By chriscollins500·Created 9 days ago·Updated 6 days ago· 1
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)

NameTypeDefaultDescription
imagesIMAGEImages to save.
filename_prefixSTRINGComfyUIFilename 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_formatCOMBOpngImage format. PNG and WebP are lossless by default; JPEG is lossy.
jpeg_qualityINT1001–100JPEG fidelity. 100 is the maximum-fidelity default.
jpeg_alpha_backgroundSTRING#FFFFFFRGB background used when JPEG must flatten transparent pixels.
webp_losslessBOOLEANtrueUse decoded-pixel-preserving WebP encoding.
webp_qualityINT1000–100WebP compression effort or lossy quality.
write_sidecar_jsonBOOLEANfalseAlso write deterministic metadata JSON beside each saved image.
include_workflowBOOLEANtrueEmbed 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_manifestBOOLEANtrueInclude the structured Civitai manifest in rich metadata and sidecars.
enable_civitai_lookupBOOLEANfalseAsk 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_airSTRINGOptional AIR, Civitai model URL, or model-version ID that pins the active primary model identity.
hashing_modeCOMBOcached_or_fastcached_only reads no model bytes; cached_or_fast uses caches and fast hashes; full may read whole model files.
lookup_timeout_secondsFLOAT4.01–30Maximum Civitai lookup wait. Saving continues after a timeout.
lookup_cache_resultsBOOLEANtrueStore successful identities locally so later saves can resolve them without another request.
advanced_manual_identities_enabledBOOLEANfalseEnable the advanced JSON mapping for pinning identities of multiple active resources.
manual_resource_identities_jsonSTRING[]Advanced JSON list of explicit resource identity mappings. Invalid data is reported safely and never blocks image saving.
positive_prompt_overrideoptSTRINGConnect 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_overrideoptSTRINGConnect 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)

NameTypeDescription
ImagesIMAGEOriginal image tensor passed through unchanged.