Nodes/ComfyUI_LC_ModelBuilder_nodes/LC Strip Metadata 🧹
ComfyUI Node

LC Strip Metadata 🧹

Cleans the metadata out of a model you already saved: the embedded workflow, training details, titles. The weights are copied byte for byte (never loaded or re-saved), so it loads exactly as before. Same rules as the save nodes' metadata switch.

By lonecatone23Β·Created 19 days agoΒ·Updated about 17 hours agoΒ· 3
LC Strip Metadata 🧹
    • report
    β—„fileβ–Ύβ–Ί
    β—„modenecessary onlyβ–Ί
    β—„save_asnew file (_clean)β–Ί
    β—„enabledtrueβ–Ί
    CategoryLC ModelBuilder

    Inputs (4)

    NameTypeDefaultDescription
    fileCOMBOA saved model, checkpoint, LoRA, VAE or text encoder (.safetensors).
    modeCOMBOnecessary onlynecessary only = keep what loading needs plus the architecture and trigger words (same as the save nodes' switch). everything = an empty header (quant settings other tools need to load are still kept).
    save_asCOMBOnew file (_clean)new file = writes name_clean.safetensors next to the original and leaves it alone. replace = swaps the original for the cleaned copy once it's fully written.
    enabledBOOLEANtrueOff skips it (nothing is written).

    Outputs (1)

    NameTypeDescription
    reportSTRINGβ€”