Submit Swap Face Task

No Description

Endpoint

POST http://v98store.com/mj/insight-face/swap

cURL Command

curl -X POST 'http://v98store.com/mj/insight-face/swap' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "sourceBase64": "data:image/png;base64,xxx1", "targetBase64": "data:image/png;base64,xxx2", "notifyHook": "string", "state": "string" }'

Parameters

NameInDescriptionRequired
AuthorizationheaderNo

Request Body

Example

{
  "sourceBase64": "data:image/png;base64,xxx1",
  "targetBase64": "data:image/png;base64,xxx2",
  "notifyHook": "string",
  "state": "string"
}

Responses

200 -

Example

{
  "created": 1589478378,
  "data": [
    {
      "url": "https://..."
    },
    {
      "url": "https://..."
    }
  ]
}