Seamlessly swap faces in your images with Faceswap API

Integrate fast and simple AI-powered face swapping ability into your apps.

Deliver extraordinary, personalized images for your users!

An image displaying photos of Superman, Leonardo Dicaprio and a face swapped image from the two previous photos

Everything you need to start integrating

Cost Effective.
With our affordable pay-as-you-use pricing, we deliver excellent value for money while providing top-notch face-swapping capabilities!
Low Latency.
We work hard to keep latencies low for our API, turning back images result faster for our users!
High Concurrency Supported.
Built to handle high concurrency, our API efficiently manages concurrent requests, ensuring service even during peak loads.
Easy Setup and Integration.
Integrating our API is a hassle-free setup process with simple HTTPs calls, making it easy to integrate within any tech stack.
Asynchronous.
Our API works asynchronously, enhancing your workflow efficiency, and allowing smoother integration into your existing systems.
Automatic face detection.
Our API comes with robust automatic face detection capability, intelligently identifying and swapping faces in your input photo.
Bulk generation.
We have the backend infrastructure to handle your custom high-volume needs, be it for batch operations or large-scale projects or one-time project, we've got you covered.
Standard RESTful API.
Conforming to the constraints of REST architectural style, our API ensures interoperability and compatibility with a variety of systems
Webhook.
We will notify you of a completed task through our webhook feature, to avoid repeated fetch calls made through the network.

Pricing

Simple & Straightforward

Standard

$0.01/call
  • Access to our SOTA model
  • Sign up and try for free!

Custom Dedicated Deployment

Contact Us
  • Faster speed & lower latency
  • Support High Concurrency
  • Priority Access & Autonomy

Check our Pricing page for more information

Testimonials

“The automatic face detection feature of Faceswap API is pretty good. It‘s smart enough for what we need in our photo editing software.”

Luka Popović

“Handling large-scale projects was quite easy with Faceswap API. The bulk generation feature was also nice for our one-off, high-volume project.”

DreamEngine

“We were able to ramp up our Meme-creating platform within no time using the API. The simple HTTPs calls made the setup process very hassle-free.”

Naoko T.

“With Faceswap API, we delivered an image altering feature for this social media app that we are working on. We like the low latency feature!”

Farid A.

“The face detection feature in the API is pretty spot-on, it is very accurate! This helped us build the face swap feature in our app! ”

Sanjay

“Thanks for helping us with our peak load situation! We appreciate the extra-support for the high concurrency!”

BlueSyntax

“Thanks for the API, especially the free testing credits upon sign up!”

Rafala N.

“Great job on the async api - thanks again! (I like your new BYOA accounts service announcement btw.. will DM you about it soon)”

-TBool

“Good custom server solution for the Faceswap API, we needed something that offers higher Concurrency and minimum latency, this worked great!”

Brevo Labs

Our blog

Check out our blog for related contents!

Frequently asked questions

What is PiPAI's Faceswap API?

Our FaceSwap API based on a custom AI model which allows developers to integrate advanced face swapping capability into their own apps or platforms, providing their users with the ability to quickly personalize desired images.

Who is the intended user for the FaceSwap API?

Our API is created for developers who want to incorporate face swapping capabilities into their generative AI software applications. This feature is ideal for social apps, picture editing apps, and/or entertainment apps. Non-developers can also use our API with tools such as Postman/Make/Zapier to swap faces as well!

How to get started with integrating the API?

After registering for an account on PiAPI, you will get some free credits to try the API. Using your own API-KEY you can start making HTTPs calls to the API!

How do I make calls to the API?

You can call our API using HTTPS Post and Get methods from within your application. A wide range of programming languages that support HTTP methods (ex. Python, JavaScript, Ruby, Java, etc.) can be used to make the call!

What is the response time of the API?

Our model is designed for optimal speed. The actual response time will vary depending on several factors including the file size of the input pictures, resolution of the pictures, the unobstructed view of the face. Typically, the smaller the size of inputs will have a faster response time.

Is there a limit to the total number of requests or concurrent number of requests I can make?

We will queue your concurrent jobs if the number of your concurrent jobs exceeds a certain threshold. In terms of total number of requests, you can make as many requests as your credit amount allows.

How does the API handle errors?

Our API returns error codes and messages in the HTTP response to help identify the issue. Please refer to our documentation for more details.

Can you provide dedicated deployment for this API?

Yes, absolutely! We have clients who need custom solutions for specialized requirements (ex. Low latency, extra storage time, high concurrency, fine-tuning models, or just shorter queuing time in general), and we do provide cost-effective and performance-enhanced solutions for these scenarios!

In terms of data privacy, does your API store images or data?

Our model is hosted on PiAPI's server (rented). Our API does not store any input images, they go directly into the model. The output images are stored on our CDN provider's storage for three (3) days and then they are deleted.

What is the pricing options for the API?

We offer the API through a pay-as-you-use system, you can purchase credits on our Workspace and monitor the remaining credits. The per-use cost of the API is reflected on upper portion this page. Please note that the credits purchased do expire in 180 days after purchase.

How do I pay for this API?

We have integrated Stripe in our payment system, which will allow payments to be made from most major credit card providers.

Are there refunds?

No, we do not offer refunds. But when you first sign up for an account on PiAPI's Workspace, you are given free credits to try our service before making payments!

How can I get in touch with your team?

Please email us at contact@piapi.ai - we'd love to listen to your feedback and explore potential collaborations!