You can perform face swapping with artificial intelligence using Discord servers and InsightFace API.
I will quickly share with you how to do it and the important details.
You can see detailed usage and features for InsightFaceSwap from the InsightFaceSwap Swapping Demo Github repository.
InsightFaceSwap How to Swap Faces Using AI?
- Log in to Discord and create a private server for yourself.
- Add the InsightFace bot to the server you created by clicking the InsightFaceSwap Discord API link.
- Log in to the Discord server you created.
- Verify that the InsightFaceSwap Bot is in your server’s member list. If you don’t see the bot, repeat the process.
- Save the face image you will use to your computer.
- After pressing the / key in the send message section on your Discord server, select the /saveid command.
- Select the face image, fill in the idname value and send your message.
- If you did the operations correctly, you will see the message “Source face idname oguz created with image below.“
- You can also verify the operation with the /listid command.
- Now send the image whose face you want to change to the server by clicking on the + button.
- Right-click on the image you sent on the server and select Apps – INSwapper.
- After doing this, you will see the warning “The command has been sent. Please wait for the result to complete.“
- That’s it. Depending on the intensity of the bot, your face swap will be completed in a few seconds.
Available InsightFaceSwap Commands
- /changebg – Change image background.
- /delall – Delete all saved IDNAMEs
- /delid – Delete specific idname
- /faceswap – Face swap with Picsi.Ai by attaching a source face image and target image/gif/video.
- /headshot – Generate custom, professional one-of-a-kind headshots with Picsi.Ai Headshot Creator.
- /listid – List all saved IDNAMEs
- /newtoken – Create a new token for Picsi.Ai
- /picsi – Directly generate a Picsi.Ai face morph by attaching a source image and target image/gif/video.
- /prefs – View and adjust your preferences with Picsi.Ai
- /saveid – Save Identity Feature by Name and Image
- /setid – Set Current/Default IDNAMEs, use comma splitter for multiple names
- /swapid – Apply Identity Feature to Target Image, use comma splitter for multiple identities
InsightFaceSwap gives you 30 free credits per day. Each face swap costs 3 credits.