Face Swap
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.
POST
https://api.thenextleg.io/face-swap
Request Body
Source Image
This is the URL for the face that you would like to use on the target. You cannot use URLS served by (Redacted Name) (ie. cdn.(Redacted Name)) image.Target Image
This is the URL for the image that you would like to swap the face on. You cannot use URLS served by (Redacted Name) (ie. cdn.(Redacted Name)) image.0
1
2
3
{
"sourceImg": "https://hips.hearstapps.com/hmg-prod/images/ariana_grande_photo_jon_kopaloff_getty_images_465687098.jpg",
"targetImg": "https://imageio.forbes.com/specials-images/imageserve/6474d985fece284f32569957/0x0.jpg?format=jpg&width=1200"
}