🎉 New Year Sale: Get 20% OFF on all plans — Use code NEWYEAR2026.

Upgrade now
Specific FaceSwap thumbnail

ModelsLab/Specific FaceSwap

specific-video-swap
The Specific Video Swap endpoint lets you replace a selected face in a video using a reference image, while keeping all other faces unchanged.
API PlaygroundAPI Documentation

API Endpoint URL

Base URL for all API requests to this endpoint.

https://modelslab.com/api/v6/deepfake/specific_video_swap

API Authentication

Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.

Integration Examples

Production-ready code samples for API integration

{
"init_video": "https://assets.modelslab.com/generations/fcbd9815-64d2-4c57-812f-0ed043f6fb67",
"init_image": "https://assets.modelslab.com/generations/f139a3a7-1c64-4255-a53d-5b1c2a14b564",
"reference_image": "https://assets.modelslab.com/generations/250f4a3b-0e1c-4523-aecd-acafd707f12d",
"watermark": false,
"output_format\t": "mp4",
"key": "YOUR_API_KEY"
}

SDKs

Official SDKs

Production-ready SDKs and client libraries for all major programming languages

API Parameters

Technical specifications for API request parameters.

Field NameParameterTechnical Description
Init Videoinit_videoThe video containing the face(s) to replace the faces in the image.
Init Imageinit_imageThe image containing multiple faces to be swapped.
Reference Imagereference_imageA reference image containing the specific face to swap from the initial image.
WatermarkwatermarkIndicates if the generated result should include a watermark value: true and false default: true
Output formatoutput_format The output format of the video default:mp4