remaker/photo-multiple-face-swap
Swap multiple faces in a single photo effortlessly. Combine with our Face Detect API for accurate, high-quality group face swapping and editing.
Output: $0.04783 / use or 20 uses / $1
Input
detect_id * string
The face detection number needs to be obtained in the video-face-detect model
face_map * string
Face corresponding dataset, which needs to be obtained in the video-face-detect model
disable_safety_checker boolean
Note: The website version of this model always runs with safety checks enabled. For details,see VModel's platform safety guidelines..
Disable image safety checks; enforce checks in browser.
Reset
Output
{
  "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
  }
}
Generated in: 5 seconds
Download
Examples
Model Example
Pricing
This model is priced based on a single task.
Output: $0.04783 / use or 20 uses / $1
Readme

🔄 Photo Multiple Face Swap API

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.

🧠 Key Features

  • 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.


🚀 How to Use

  1. 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.

  2. Use the detect_id
    This ID links your swap request to the face detection results.

  3. 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.

  4. 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.


🔗 Best Paired With

  • Photo Face Detect API – Extract and index faces before performing swaps.
  • Ideal for use cases involving face replacement, anonymization, or creative visual editing.