h4 - Save Face Model
Persisting a face so you never rebuild it
- face_model
- SAVED_PATH
The FaceForge suite in h4_Live has a nice loop: build a face model from an image, save it, and reload it later without touching the original reference. This node is the "save" half - it takes a FACE_MODEL object and writes it to disk as a .safetensors file in the suite's face-models folder, ready to be loaded back by H4_LoadFaceModel. It's the persistence layer that makes the whole "consistent character across sessions" idea actually work.
How it works
You connect a FACE_MODEL (from the suite's Build Face Model node - that's the piece that extracts the face embedding), give the file a filename, and it serializes the embedding plus metadata into a .safetensors file. No .safetensors extension needed in the name - the node appends it for you. It writes into the face-models directory the suite uses, and the overwrite toggle decides whether an existing file with the same name gets clobbered. Off by default, for good reason: overwriting a face model you spent time building is the kind of accident you don't recover from.
The output is SAVED_PATH - the full path to the file you just wrote, useful for logging or if you want to wire it into something that cares about paths.
The inputs that matter
face_model- the embedding, straight from Build Face Model.filename- what to call it. The tooltip's example says it all: name it 'ElonMusk' and you know exactly what's inside.overwrite- allow clobbering an existing file. Leave off until you're sure.
What pairs with it
The full lifecycle is Build Face Model → Save Face Model → (later, in any workflow) Load Face Model. Once saved, the face is a standalone asset: no reference photo, no rebuild, no network. That's the real selling point of the whole FaceForge suite - identity as a reusable file, in the same spirit as how ComfyUI treats workflows as reusable files.
Installing it
It's part of h4_Live:
cd ComfyUI/custom_nodes
git clone https://github.com/m3rr/h4_Live
# restart ComfyUI
or ComfyUI Manager → search "h4_Live." No extra dependencies and no model downloads - the only files involved are the face models you create yourself.
Where it can bite you
This is the most niche corner of an already niche pack, so set expectations. Face files saved here are only readable by this suite - they're not interchangeable with LoRAs or embeddings from other tools, so don't treat them as a portable identity format. And the whole FaceForge family is barely documented beyond a few README lines; if Build Face Model doesn't produce what you expect, there's not much community knowledge to lean on. Save early, keep your reference images, and treat the file as a convenience cache rather than a one-way door - because once you overwrite a face model, that specific build is gone for good.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| face_model | FACE_MODEL | Connect the Face Model from Build Face Model here. | |
| filename | STRING | h4_FaceModel_ | Name your file (e.g. 'ElonMusk'). No need for .safetensors extension. |
| overwriteopt | BOOLEAN | false | Allow overwriting if the file already exists? Be careful. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| SAVED_PATH | STRING | — |