Skip to content

ComfyUI FaceID Plus V2: put any face into any picture

Beginner SDXL · RealVisXL Lightning 10 nodes
  • What nodes and wires are, and how to connect them
  • Build a text-to-image workflow with 7 nodes
  • Add FaceID with 3 more nodes
  • The two settings that make the face look right

Download the workflow, the practice photo and the example results from Google Drive. Then drag the workflow .json file onto ComfyUI and it loads all 10 nodes.

Google DriveAll tutorial filesWorkflow .json, practice photo and example resultsOpen Google Drive
File Folder Size
RealVisXL_V5.0_Lightning_fp16.safetensors models/checkpoints ~6.5 GB
ip-adapter-faceid-plusv2_sdxl.bin models/ipadapter ~1.5 GB
ip-adapter-faceid-plusv2_sdxl_lora.safetensors models/loras ~370 MB
CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors models/clip_vision ~2.5 GB

Or download them with one command. Open PowerShell, paste it, and press Enter. If your ComfyUI models folder is somewhere else, change the first line.

Download the models
$m = "$env:LOCALAPPDATA\Comfy-Desktop\ComfyUI-Shared\models"
"checkpoints","ipadapter","loras","clip_vision" | ForEach-Object { New-Item -ItemType Directory -Force "$m\$_" | Out-Null }
$hf = "https://huggingface.co"
curl.exe -L -o "$m\checkpoints\RealVisXL_V5.0_Lightning_fp16.safetensors" "$hf/SG161222/RealVisXL_V5.0_Lightning/resolve/main/RealVisXL_V5.0_Lightning_fp16.safetensors"
curl.exe -L -o "$m\ipadapter\ip-adapter-faceid-plusv2_sdxl.bin" "$hf/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid-plusv2_sdxl.bin"
curl.exe -L -o "$m\loras\ip-adapter-faceid-plusv2_sdxl_lora.safetensors" "$hf/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid-plusv2_sdxl_lora.safetensors"
curl.exe -L -o "$m\clip_vision\CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors" "$hf/h94/IP-Adapter/resolve/main/models/image_encoder/model.safetensors"
  1. Load Checkpoint: pick RealVisXL_V5.0_Lightning.
  2. Positive Prompt: what you want.
  3. Negative Prompt: what you don’t want.
  4. Empty Latent Image: 832 × 1216.
  5. KSampler: steps 6, cfg 1.5, sampler dpmpp_sde, scheduler karras.
  6. VAE Decode: turns it into a picture.
  7. Save Image: saves to the output folder.
  8. Load Image (face) new: your face photo.
  9. IPAdapter Unified Loader FaceID new: preset FACEID PLUS V2, lora_strength 0.6.
  10. IPAdapter FaceID new: its MODEL output goes into node 5 instead of node 1.
Setting Value What it does
weight 0.7 How strong the face is
weight_faceidv2 1.0 How much it looks like the person
lora_strength 0.6 Strength of the FaceID LoRA
steps / cfg 6 / 1.5 Lightning model settings
sampler / scheduler dpmpp_sde / karras Lightning model settings
size 832 × 1216 Portrait size for SDXL
“LoRA model not found”

The FaceID LoRA is missing from models/loras. Run the PowerShell command above, then restart ComfyUI.

My picture looks like a cartoon

Use RealVisXL instead of SDXL base, set node 4 to 832 × 1216, and add cartoon, painting, 3d render to the negative prompt.

The face doesn’t look like my photo

Raise weight_faceidv2 to 1.2–1.5 and use a clear, front-facing photo.

Does this work with SD 1.5?

Yes. Use the SD 1.5 versions of the FaceID files and size 512 × 768.

Join the conversation
…
No sign-in needed. Be kind and helpful.

    Join the mailing list

    Get an email when a new tutorial and its free files are ready. No spam, unsubscribe anytime.

    Signup opens soon.