ModelsLab/Multiple Face Swap
multiple-face-swapThe Multiple Face Swap endpoint allows swapping all detected faces in a single image with faces from a target image.
API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v6/deepfake/multiple_face_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_image": "https://assets.modelslab.com/generations/b8dcc2fc-586f-49ab-ad79-3604349eead3","target_image": "https://assets.modelslab.com/generations/f064e7b1-f687-4038-a012-3baaf9413eb0","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 Name | Parameter | Technical Description |
|---|---|---|
| Init image | init_image | The initial image that contains the faces to be swapped. |
| Target image | target_image | The target image that contains the faces to replace those in the initial image. |