namifusion Image/Video Face Swap
namifusion/faceswap-video
NamiFusion Video Face Swap Model Supports images and videos, easy single or multi-person face swapping. Compatible with multiple model_style options, can output realistic results or one-click beauty-enhanced versions — natural and great-looking!
Examples
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| source_url *Source Face | image_upload | — | Input face |
| target_url *Target face | video_upload | — | The face to be replaced |
| single_face_modeSingle-face swap | boolean | — | Performing tasks based on single-person face swapping |
| model_stylemodel style | select | realistic | Face swap style. Realistic: natural look with lifelike skin tones. Beautify: smoothing and brightening enhancement. Lossless: preserves all original facial details for highest fidelity. |
| face_enhanceFace enhancement | boolean | — | Enable face enhancement; enabling it will result in higher resolution faces. |
| face_mappingFace mapping | array | Required for multi-person face swapping. Each item maps a source face to a target face. Use the face detection API to obtain face info, then assemble into this array. `source_face_info.face_url` is the new face; `target_face_info.face_url` is the face to be replaced. |
API
Call this model through one unified REST API. Get a key on the API Keys page.
curl -X POST https://www.namifusion.com/api/v1/marketplace/run/namifusion/faceswap-video \
-H "Authorization: Bearer sk-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "input": { "source_url": ..., "target_url": ..., "single_face_mode": ... } }'Related models
换脸
NamiFusion Faceswap v5 is a high-speed, cost-effective model designed for large-scale, real-time workflows, delivering lifelike results with automatic skin tone matching and professional quality.
Image FaceSwap Pro
Image FaceSwap Pro supports single-face automatic detection and multi-face precise mapping with keypoint pairs.
namifusion Image Face Swap
NamiFusion Face Swap Model Easy single or multi-person face swapping. Compatible with multiple model_style options, can output realistic results or one-click beauty-enhanced versions — natural and great-looking!
FaceDetect
A face detection model used to detect facial information contained in input elements.
FaceDetect
A face detection model used to detect facial information contained in input elements.