ddvinh1/inswapper 🔢🖼️✓📝 → 🖼️
About

Example Output
Output

Performance Metrics
7.26s
Prediction Time
7.28s
Total Time
All Input Parameters
{ "upscale": 2, "source_img": "https://replicate.delivery/pbxt/NdDPOXId8IyeGHPqRFSFTIp2LwGPPsTNX2FA2NSgOcVi4qEp/John_Cena_Profile.png", "target_img": "https://replicate.delivery/pbxt/NdDPOF9gB2oovGtKT0gysqVcm1VchRLLQOThfqRhxFqrGhmA/mans1.jpeg", "face_restore": true, "face_upsample": true, "source_indexes": "-1", "target_indexes": "-1", "background_enhance": true, "codeformer_fidelity": 0.5 }
Input Parameters
- upscale
- Upscale factor (1-4)
- source_img (required)
- Source image(s) - can be multiple images separated by semicolons
- target_img (required)
- Target image to swap faces into
- face_restore
- Apply face restoration using CodeFormer
- face_upsample
- Upsample faces
- source_indexes
- Comma separated list of face indexes to use in source image (-1 for all)
- target_indexes
- Comma separated list of face indexes to swap in target image (-1 for all)
- background_enhance
- Enhance background
- codeformer_fidelity
- CodeFormer fidelity parameter (0.0-1.0)
Output Schema
Output
Example Execution Logs
Source image paths: ['/tmp/tmptvgo7jzeJohn_Cena_Profile.png'] Source faces: 1 Target faces: 2 Result saved successfully: /tmp/result.png
Version Details
- Version ID
25bdae46f2713138640b6e8c04dc4ca18625ce95b1863936b053eee42d9ba6db
- Version Created
- August 31, 2025