Request
Make aPOST
request to below endpoint and pass the required parameters in the request body.
Body
Body
Your API Key used for request authorization
The initial image containing the face to replace
The target image containing the face to be swapped
A reference image containing the specific face to swap from the initial image
Indicates if the generated result should include a watermark
A URL to receive a POST API call once the image generation is complete
Input image is base64 format
An ID included in the webhook response to identify the request
Response
Face swap response
success
Time taken to generate the result in seconds
Unique identifier for the generation request
Array of URLs to the generated images
Array of proxy URLs for the generated images
Metadata about the generation process and parameters used