Deep-Live-Cam relies on three AI models to function. Two of them — the face swapper and the face enhancer — must be downloaded manually and placed in theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/hacksider/Deep-Live-Cam/llms.txt
Use this file to discover all available pages before exploring further.
models/ folder before you run the application. The third, used for face analysis, is downloaded automatically by the InsightFace library the first time you launch Deep-Live-Cam.
Required models
inswapper_128_fp16.onnx — face swapper
This is the core model that performs the actual face swap. It takes the source face embedding and the target face region as input and outputs the swapped face. When running with CUDA, Deep-Live-Cam automatically selects the FP16 model if it is present in themodels/ folder, and falls back to the FP32 variant (inswapper_128.onnx) on older NVIDIA GPUs where FP16 can produce numerical errors (GTX 16xx series and earlier).
Download: inswapper_128_fp16.onnx
GFPGANv1.4.onnx — face enhancer
GFPGAN is an optional face restoration model that sharpens and improves the quality of the swapped face output. It is enabled via the--frame-processor face_enhancer flag or through the GUI. Without this model, the face enhancer processor will not start.
Download: GFPGANv1.4.onnx
All models are hosted on Hugging Face at huggingface.co/hacksider/deep-live-cam. You can browse the full repository there to see all available model variants.
Where to place the models
Both files must be placed in themodels/ folder at the root of the cloned repository:
buffalo_l — face analyser (auto-downloaded)
Thebuffalo_l model pack is used by the InsightFace library for face detection, recognition, and landmark extraction. It powers all face analysis in Deep-Live-Cam, including finding faces in the source image, matching them to target faces, and providing the face embeddings that drive the swap.
You do not need to download this model manually. InsightFace will download and cache it automatically the first time you run python run.py. The download is approximately 300 MB and is stored in the InsightFace model cache directory (~/.insightface/models/buffalo_l/ on most systems).
The
buffalo_l pack includes a face detection model (RetinaFace), a face recognition model, and a 106-point landmark model. Deep-Live-Cam skips the landmark model during face swapping when mouth masking and face enhancement are both disabled, reducing per-frame inference time.Download steps
Download the model files
Download both ONNX files from Hugging Face:
Place them in the models/ folder
Move or copy both downloaded files into the
models/ directory at the root of your Deep-Live-Cam clone. Create the directory if it does not exist:Model summary
| Model | Purpose | Source | Auto-downloaded |
|---|---|---|---|
inswapper_128_fp16.onnx | Face swapping | Hugging Face | No — manual download required |
GFPGANv1.4.onnx | Face enhancement | Hugging Face | No — manual download required |
buffalo_l | Face detection and recognition | InsightFace | Yes — on first run |