Submit FaceSwap Task
Developing
hint:
Switch modes by modifying request uri, for example:1.
base_url/mj-relax/m/insight-face/swap
2.
base_url/mj-fast/mj/insight-face/swap
3.
base_url/mj-turbo/mj/insight-face/swap
Request
Body Params application/json
{
"notifyHook": "",
"sourceBase64": "data:image/png;base64,xxx1",
"targetBase64": "data:image/png;base64,xxx2",
"state": ""
}
Request Code Samples
curl --location --request POST 'https://api.maxapi.ai/mj-relax/mj/insight-face/swap' \
--header 'Authorization: Bearer sk-V3ESFCWr3ZLemf878bC71eCcF36c483a8f448a02487dAdC7' \
--header 'Content-Type: application/json' \
--data-raw '{
"notifyHook": "",
"sourceBase64": "data:image/png;base64,xxx1",
"targetBase64": "data:image/png;base64,xxx2",
"state": ""
}'
Responses
application/json Modified at 2024-07-24 18:10:56