{ "task_id": "d9zzvghifs95q8fkfd", "user_id": 1, "version": "3eb35274fb2bbdbef1edb1f6200a79775eac3e39fb03d30dcecd6d4e9ed38c0a", "error": null, "total_time": 5, "predict_time": 5, "logs": null, "output": [ "https://vmodel.ai/data/model/remaker/photo-multiple-face-swap/result.png" ], "status": "succeeded", "create_at": 1746492954, "completed_at": 1746493015, "input": { "detect_id": "ndL7MoDqe7O", "face_map": "[{\"face_id\":0,\"target\":\"https://vmodel.ai/data/model/remaker/photo-multiple-face-swap/target_1.jpg\"},{\"face_id\":1,\"target\":\"https://vmodel.ai/data/model/remaker/photo-multiple-face-swap/target_1.jpg\"}]", "disable_safety_checker": false } }
Swap multiple faces in one go — fast, automatic, and flexible.
The Photo Multiple Face Swap API enables automatic replacement of one or more faces in a target image using custom face inputs. Designed for multi-face scenes such as group photos, the model handles detection, alignment, and seamless blending, returning a realistic composite image where selected faces have been swapped.
Multi-face support
Automatically detects and replaces multiple faces in a single target image.
Flexible face mapping
Define exactly which detected faces to replace and what to replace them with.
Realistic output
Preserves lighting, orientation, and expression for visually consistent results.
Integrated workflow
Seamlessly integrates with the [Photo Face Detect API] to automate face extraction and swapping.
Detect faces
Use the Photo Face Detect API to analyze the target image. It returns a detect_id
and an array of cropped face image URLs.
Use the detect_id
This ID links your swap request to the face detection results.
Build the face_map
The face_map
parameter defines which faces to replace and what to replace them with. It maps face indices (from the detection result) to replacement face images.
Submit the swap task
Call the Photo Multiple Face Swap API with the detect_id
and face_map
. The server will process the task and return the final result.