# Specific FaceSwap > The Specific Video Swap endpoint lets you replace a selected face in a video using a reference image, while keeping all other faces unchanged. ## Overview - **Model ID**: `specific-video-swap` - **Category**: video - **Provider**: modelslab - **Status**: active - **Screenshot**: `https://assets.modelslab.com/generations/4cbc1494-7b05-4009-9dac-d2d9c474b305.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v6/deepfake/specific_video_swap` - **Method**: POST ### Parameters - **`init_video`** (required): The video containing the face(s) to replace the faces in the image. - Type: file - Example: Upload your video - **`init_image`** (required): The image containing multiple faces to be swapped. - Type: file - Example: The image containing multiple faces to be swapped. - **`reference_image`** (required): A reference image containing the specific face to swap from the initial image. - Type: file - Example: A reference image containing the specific face to swap from the initial image. - **`watermark`** (optional): Indicates if the generated result should include a watermark value: true and false default: true - Type: toggle ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v6/deepfake/specific_video_swap \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "specific-video-swap", "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 }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v6/deepfake/specific_video_swap", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "specific-video-swap", "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 } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v6/deepfake/specific_video_swap", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "specific-video-swap", "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 }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/specific-video-swap/specific-video-swap) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)