Request
Make aPOST
request to below endpoint and pass the required parameters in the request body.
curl
Body
json
Body Attributes
Your API Key used for request authorization.
The first image containing a face to be swapped. (URL string)
The second image containing a face to replace the first image. (URL string)
If provided
init_image
is in base64 format or if you want generated images as base64 string, set to true
. Default: false
.Set a URL to receive a POST API call once the image generation is complete.
This ID is returned in the response to the webhook API call. Used to identify the webhook request.