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 image containing multiple faces to be swapped. (URL string)
string
required
The video containing the face(s) to replace the faces in the image. Only videos less than 1 minute are accepted. If using YouTube, ensure the video is not made for kids or classified as adult content. (URL string)
string
default:"mp4"
The output format of the video. Available options: mp4
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
Set a URL to receive a POST API call once the image generation is complete.
string
This ID is returned in the response to the webhook API call. Used to identify the webhook request.