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
| Name | In | Description | Required |
|---|---|---|---|
| Authorization | header | No |
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://..."
}
]
}