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 the face to be swapped. (URL string)
The second image containing the face to replace the face in the initial image. (URL string)
The reference image of the particular face you want to swap from the init image. (URL string)
Whether the generated result should have a watermark. Available options:
true
, false
If provided
init_image
is in base64 format or if you want generated images as base64 string, set to true
. Default: false
.Provide a URL to receive a POST API call once the image generation is complete.
This ID is included in the webhook API call to identify the request.