Face Swap
You can use our in-house face swap workflow
.
Tip
- Use good clarity photos where the face is clearly visible
- Input
- Output
https://api.imagepipeline.io/faceswap/v1
API-Key
{
"input_image": "https://addictedtoreel.wordpress.com/wp-content/uploads/2012/10/rez-4.jpg",
"input_face": "https://media.licdn.com/dms/image/D4D03AQFuh3S6G6MwVg/profile-displayphoto-shrink_800_800/0/1702533840902?e=2147483647&v=beta&t=IoE79K2E5UyDGcA9zhjwepTj4iONzvfm4zun_QFfmt0"
}
https://api.imagepipeline.io/faceswap/v1/status/{{id}}
API-Key
{
"download_urls": [
"https://f005.backblazeb2.com/b2api/v2/b2_download_file_by_id?..."
],
"status": "SUCCESS"
}
Status
Your response will include a status
.
- If the
status
=SUCCESS
, you will also havedownload_urls
that will have the links to your generated image based on the number of samples you have entered. The maximum number of samples that can be generated is 4. - If the
status
=PENDING
, you will receive aid
. You can use the status endpoint to fetch your image using theid
. - If the
status
=FAILURE
, you will receive only an error message.
Endpoint: [GET]
https://api.imagepipeline.io/faceswap/v1/status/{{id}}
Pass the API-Key as the authorization in the header.