You can perform a face swap from one image to another. Both images must contain one face, otherwise it will only take the left most face as input.Please make sure the image is not huge, file size less than 5MB is recommended.For faceswap in group photo or video, you can check the specific ChangeFace service.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
source
string
required
This is the URL for the face that you would like to use on the target. You cannot use URLS served by Midjourney (ie. cdn.midjourney) image.
target
string
required
This is the URL for the image that you would like to swap the face on. You cannot use URLS served by Midjourney (ie. cdn.midjourney) image.
ref
string
optional
The reference metadata which will return as part of the webhook.
webhookOverride
string
optional
The webhook URL which the response will send to, the payload of this webhook is same as our Message endpoint.