remaker/video-multiple-face-swap
Swap faces across multiple videos with smart detection and seamless replacement.
Output: $0.04783 / second or 20 seconds / $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
Reset
Output
{
  "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\"}]"
  }
}
Generated in: 35 seconds
Download
Examples
Pricing
This model is priced based on the length of the video.
Output: $0.04783 / second or 20 seconds / $1
Readme

🎭 Video Multiple Face Swap API

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.

🧠 Key Features

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


🚀 How to Use

  1. Run face detection
    Use the [Video Face Detect API] to analyze your video. The response includes:

    • A unique detect_id
    • A list of detected face crops, each with its own face_id
  2. Prepare the face_map
    Create a mapping between detected face_ids and the face images you want to use as replacements (via URL or uploaded image).