Create Face Swap

Create Face Swap

POST https://pub-api.mojo.vn/srv/publish/api/art_swapface/generate

Headers

Name
Type
Description

Authorization

Bearer apikey,

API_KEY

Content-Type

application/json

Request Body

Name
Type
Description

art_v5

String

ImageID (Infinity art generated)

face_init

base64

Face image to swap

{
    "success": true,
    "id": "FaceSwapImageID",
    "queue_type": "fast"
}

curl --location 'https://pub-api.mojo.vn/srv/publish/api/art_swapface/generate' --header 'Authorization: Bearer apikey,API_KEY' --header 'Content-Type: application/json' --data '{ "face_init": "Image base64", "art_v5": "ImageID" }'

Last updated