easel/advanced-face-swap 🖼️❓ → 🖼️
About
Face swap one or two people into a target image

Example Output
Output

Performance Metrics
5.91s
Prediction Time
5.92s
Total Time
All Input Parameters
{ "upscale": true, "detailer": false, "swap_image": "https://replicate.delivery/pbxt/Mb44Wp0W7Xfa1Pp91zcxDzSSQQz8GusUmXQXi3GGzRxDvoCI/0_1.webp", "hair_source": "target", "user_gender": "a woman", "target_image": "https://replicate.delivery/pbxt/Mb44XIUHkUrmyyH1OP5K1WmFN7SNN0eUSU16A8rBtuXe7eYV/cyberpunk_80s_example.png", "user_b_gender": "a woman" }
Input Parameters
- swap_image (required)
- The face image to swap from
- hair_source
- Choose whose hairstyle to preserve: 'user' preserves hairstyle from face image, 'target' preserves from target image
- user_gender
- Optional description of user gender ('a man', 'a woman', 'nonbinary person'), used for multi-user swaps
- swap_image_b
- Optional second face image to swap from
- target_image (required)
- The image to swap onto
- user_b_gender
- Optional description of second user's gender for multi-user swaps
Output Schema
Output
Example Execution Logs
Running faceswap prediction... ✅ Loaded target_image: 2008673 bytes ✅ Loaded swap_image: 396760 bytes ✅ Execution completed
Version Details
- Version ID
602d8c526aca9e5081f0515649ff8998e058cf7e6b9ff32717d25327f18c5145
- Version Created
- March 6, 2025