vmodel/photo-face-swap
image face swap model
Input
swap_image * image
The face image you want to use to replace in target image.
target_image * image
The photo where the original face will be replaced.
Reset
Output
{
  "task_id": "d9mfiw2tfqaldrg3a9",
  "user_id": 1,
  "version": "d4f292d1ea72ac4e501e6ac7be938ce2a5c50c6852387b1b64dedee01e623029",
  "error": null,
  "total_time": 3,
  "predict_time": 1.2,
  "logs": null,
  "output": [
    "https://data.vmodel.ai/data/model-example/vmodel/photo-face-swap/result.png"
  ],
  "status": "succeeded",
  "create_at": null,
  "input": {
    "swap_image": "https://data.vmodel.ai/data/model-example/vmodel/photo-face-swap/swap_image.jpg",
    "target_image": "https://data.vmodel.ai/data/model-example/vmodel/photo-face-swap/target_image.png"
  }
}
Generated in: 1.2 seconds
Download
Examples
Model Example
Pricing
This model is priced based on a single task.
Output: $0.03986 / use or 25 uses / $1
Readme

🚀 Face Swap API

Use our high-precision Face Swap API to naturally replace faces in images. Built with advanced AI technology, this service is ideal for image editing, content creation, and entertainment applications.

🔍 API Overview

The Face Swap API provides high-quality face detection and face replacement services. By uploading two images, the system automatically merges the target face onto the source image to generate a natural, high-resolution face-swapped result.

  • Core Features: Face detection + face replacement + image synthesis
  • Typical Use Cases: Profile photo editing, short video content, virtual try-on
  • Supported Formats: PNG / JPG (high-resolution frontal face images recommended)
  • Access Methods: Web interface or API integration
  • Authentication: Requires a valid API Token (available to paid users only)

🛠️ How to Use

✅ Web Interface (No Coding Required)

Use our web-based face swapping tool to upload two images and click “Generate” to complete the face swap in seconds. No technical background needed.

✅ API Access (For Developers)

Developers can integrate the Face Swap API into their own applications via standard HTTP requests. For detailed parameters, response formats, and authentication, please refer to:

💡 Tips for Better Results

To achieve optimal face swap quality, we recommend the following:

  • Use high-resolution frontal face photos; avoid side views or heavy shadows
  • Ensure both faces are facing in similar directions
  • Use plain backgrounds and natural expressions for best alignment
  • Preprocessing like cropping, rotating, or face alignment is optional but helpful

⚠️ Important Notes

  • All API requests must include a valid API Token; unauthorized requests will be rejected
  • The current model only supports one face per image
  • Image size should be at least 512x512, and no larger than 20MB
  • Result images are cached for 24 hours
  • The API returns a URL to the generated image—please download and save it promptly

🚦 API Usage Limits

The Face Swap API is available to paid users only. Free access is not supported.

  • All requests must be authenticated via API Token
  • Default usage limit: up to 600 requests per minute (10 QPS)
  • For higher volume access or enterprise-level needs, please contact us

📩 Contact: [email protected]

Start using our Face Swap API today and unlock powerful AI-driven image creation!