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

key
string
required
Your API Key used for request authorization.
init_image
string
required
The image containing multiple faces to be swapped. (URL string)
init_video
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)
output_format
string
default:"mp4"
The output format of the video. Available options: mp4
watermark
bool
default:"true"
Whether the generated result should have a watermark. Available options: true, false
watermark_image
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.
webhook
string
Set a URL to receive a POST API call once the image generation is complete.
track_id
string
This ID is returned in the response to the webhook API call. Used to identify the webhook request.