The Submit Swap Face task at /mj/insight-face/swap allows for the swapping of faces between two images, utilizing advanced facial recognition and manipulation technologies. This API endpoint is ideal for creating seamless, realistic results in image editing, entertainment, or digital identity verification processes.
Request
Body Params application/json
sourceBase64
string
required
Source Image (Base64-encoded)
Example:
data:image/png;base64,xxx1
targetBase64
string
required
Target Image (Base64-encoded)
Example:
data:image/png;base64,xxx2
accountFilter
object(Filter)
optional
instanceId
string
optional
账号实例ID
notifyHook
string
optional
Callback URL (When empty, the global notifyHook will be used)