Skip to main content

Face Swap

You can use our in-house face swap workflow.

Tip
  • Use good clarity photos where the face is clearly visible
ImagePipeline-Post
https://api.imagepipeline.io/faceswap/v1
ImagePipeline-Auth
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"
}
Lightning sdxl model image pipeline

Status

Your response will include a status.

  • If the status = SUCCESS, you will also have download_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 a id. You can use the status endpoint to fetch your image using the id.
  • 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.