Request
Body Params application/json
{
"sourceBase64": "data:image/png;base64,xxx1",
"targetBase64": "data:image/png;base64,xxx2",
"notifyHook": "string",
"state": "string"
}
Request Code Samples
curl --location '/mj/insight-face/swap' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"sourceBase64": "data:image/png;base64,xxx1",
"targetBase64": "data:image/png;base64,xxx2",
"notifyHook": "string",
"state": "string"
}'
Responses
application/json
{
"created": 1589478378,
"data": [
{
"url": "https://..."
},
{
"url": "https://..."
}
]
}
Modified at 2026-09-23 08:28:57