POST
/
api
/
v1
/
imagefaceswap
/
generate
Generate Image Face Swap
curl --request POST \
  --url https://api.goenhance.ai/api/v1/imagefaceswap/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "args": {
    "reference_img": "https://cdn.goenhance.ai/user/goenhance/76115ad445ce26fbd5ad2c649a29e806.jpg",
    "source_img": "https://cdn.goenhance.ai/user/goenhance/72ca459817135553959ad72ade516802.jpg"
  },
  "type": "mx-image-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.