Request
Make aPOST request to below endpoint and pass the required parameters in the request body.
curl
Body
json
Body Attributes
string
required
Your API Key used for request authorization.
string
required
The first image containing the face to be swapped. (URL string)
string
required
The second image containing the face to replace the face in the initial image. (URL string)
string
required
The reference image of the particular face you want to swap from the init image. (URL string)
bool
default:"true"
Whether the generated result should have a watermark. Available options:
true, falsestring
The image to use as a watermark. If not provided, a default watermark will be used. Parameter is only used if
watermark is set to true.boolean
default:"false"
If provided
init_image is in base64 format or if you want generated images as base64 string, set to true. Default: false.string
Provide a URL to receive a POST API call once the image generation is complete.
string
This ID is included in the webhook API call to identify the request.

