POST
/
api
/
v1
/
videofaceswap
/
generate
Generate Video Face Swap
curl --request POST \
  --url https://api.goenhance.ai/api/v1/videofaceswap/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "args": {
    "reference_video": "https://cdn.goenhance.ai/images/static/demo/face-swap-1.mp4",
    "reference_img": "https://cdn.goenhance.ai/images/static/demo/face-swap-1.jpg",
    "upscaler": 1,
    "start_time": 0,
    "end_time": 5,
    "enhance_face": false
  },
  "type": "mx-video-face-swap"
}'
{
  "code": 0,
  "msg": "Success",
  "data": {
    "img_uuid": "c12b656c-747a-44fd-9c80-add79b0c52d5"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

The response is of type object.