{ "task_id": "d9zzvghifs95q8fkfd", "user_id": 1, "version": "fa9317a2ad086f7633f4f9b38f35c82495b6c5f38fa2afbe32d9d9df8620b389", "error": null, "total_time": 35, "predict_time": 35, "logs": null, "output": [ "https://vmodel.ai/data/model/remaker/video-multiple-face-swap/result.mp4" ], "status": "succeeded", "create_at": 1746492954, "completed_at": 1746493015, "input": { "detect_id": "ODadYkRG4GY", "face_map": "[{\"face_id\":0,\"target\":\"https://vmodel.ai/data/model/remaker/video-multiple-face-swap/t2.jpg\"},{\"face_id\":1,\"target\":\"https://vmodel.ai/data/model/remaker/video-multiple-face-swap/t1.jpg\"}]" } }
Perform automatic multi-face swapping in video content — efficient, intelligent, and natural.
The Video Multiple Face Swap API allows you to replace detected faces in a video using face detection results. By providing the detect_id
returned from the Video Face Detect API along with a face_map
, the API processes the video and generates a new version with selected faces swapped smoothly and realistically.
Multi-face replacement
Supports replacing multiple distinct faces within the same video.
Detection-driven workflow
Swapping is based on face data obtained from the Video Face Detect API using a detect_id
.
Natural visual results
Preserves lighting, expression, and head orientation across frames to ensure a seamless output.
Clean and developer-friendly integration
Minimal parameters and a clear structure make it easy to incorporate into any video processing workflow.
Run face detection
Use the [Video Face Detect API] to analyze your video. The response includes:
detect_id
face_id
Prepare the face_map
Create a mapping between detected face_id
s and the face images you want to use as replacements (via URL or uploaded image).