Skip to main content

Request

Make a POST 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 a face to be swapped. (URL string)
string
required
The second image containing a face to replace the first image. (URL string)
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
Set a URL to receive a POST API call once the image generation is complete.
bool
default:"true"
Whether the generated result should have a watermark. Available options: true, false
string
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.
string
This ID is returned in the response to the webhook API call. Used to identify the webhook request.