How to achieve a perfect AI face swap using Midjourney

3 days ago 18
AI image

This is the last representation we'll beryllium moving to create.

David Gewirtz via Midjourney/ZDNET

Image procreation utilizing AIs similar Midjourney is shockingly good. But the AIs besides person a fewer weaknesses. In this article, I'll amusement you however you tin enactment astir 1 of those weaknesses.

We're going to larn however to marque 2 oregon much characters with matching faces. 

Also: Why Adobe Firefly mightiness beryllium the lone AI representation instrumentality that really matters

Face matching is amazingly inconsistent, and determination are a fewer antithetic techniques that tin beryllium used. When I created my euphony promotion poses, I had to usage immoderate peculiar techniques to get the graphics to work.

How we usage Midjourney, InsightFace, and Adobe Generative Fill to make this look

In my nonfiction astir using AI to make an album, I glossed implicit the techniques I used, giving a thousand-foot presumption of what they were. But successful this article, I'm going to dive successful and amusement you however to marque it each happen, measurement by step.

Also, for this article, I'm going to presume you've signed up for and acceptable up your Midjourney account. If you're not definite however to bash that, this nonfiction by ZDNET's Lance Whitney volition locomotion you done the steps: How to usage Midjourney's website to make astonishing images with AI.

First, I'll amusement you what I did to make my images, and past I'll amusement you immoderate further techniques.

This method uses an existing photograph arsenic portion of the representation prompt, which gives Midjourney immoderate guidance connected what to create. Since I wanted my main medium promotion images to look similar me, I gave Midjourney a starter image.

Show more

Up until recently, Midjourney lone ran successful Discord. Now, there's some a web interface and a Discord interface. I inactive similar the Discord interface, truthful successful this nonfiction I'll beryllium showing however to bash these assorted steps utilizing Discord. Not each of these features volition beryllium disposable successful the web interface.

Let's get started by uploading a starter image. To bash this, double-click connected the positive icon astatine the bottommost of the Discord surface (remember, Midjourney runs successful Discord), take your image, and past deed return.

David Gewirtz successful  an image
Screenshot by David Gewirtz/ZDNET

Once it's been brought into Midjourney, right-click connected the representation and prime Copy Link:

Copy Link button
Screenshot by David Gewirtz/ZDNET

This nexus is what you'll usage successful preparing your prompt. Next, springiness Midjourney the /IMAGINE prompt, followed by the URL, and past your spec. This screenshot of the acceptable of 4 generated images shows what it looked similar aft I entered the afloat prompt. The apical near representation is the representation I coiled up utilizing for my profile. 

AI representation  of David Gewirtz
David Gewirtz via Midjourney/ZDNET

Please enactment that this acceptable of images was astir decidedly not my archetypal "roll" connected Midjourney. Expect to bash five, 10, adjacent 20 antithetic tries earlier you get thing you like.

Also: The champion AI representation generators now: Tested and reviewed

That said, you tin spot however the generated mentation (especially the 1 connected the precocious left) looks reasonably adjacent to what I look like. More interestingly, the leather overgarment successful the representation looks weirdly similar the 1 I've been wearing for the past decennary oregon so. How does it know?

Just for completionist's sake, here's what mightiness person been generated without utilizing the uploaded representation arsenic guidance.

AI representation  of antheral   with beard

Definitely not me, but I deliberation I went to engineering schoolhouse with the feline connected the little right!

David Gewirtz via Midjourney/ZDNET

They're each fine-looking gentlemen, but they look thing similar me.

You tin usage the starter-image instrumentality for thing you want. Here's what Midjourney thinks my small Yorkie Poo pup Pixel mightiness person looked similar arsenic a Scottish warrior prince:

AI representation  of a canine  and human
David Gewirtz via Midjourney/ZDNET

Each quad of images generated by Midjourney has its ain ID, called a seed. If you privation to make aboriginal images that are akin to an existing Midjourney image, you tin effort referencing the effect ID. It doesn't ever work, but it's worthy a try.

Show more

cleanshot-2025-04-16-at-11-09-242x
Screenshot by David Gewirtz/ZDNET

To get a effect ID, click the grey smiley-face icon (1) astatine the precocious close of the representation wherever you privation to get the seed. Then, successful the hunt box, benignant successful :envelope: (2). Then click connected the envelope (3).

Also: The champion AI for coding successful 2025 (and what not to use)

I cognize it's wholly intuitively unobvious, but this process volition person Midjourney to nonstop you a connection that contains the effect ID for the quad of images you're moving with.

AI representation  of David Gewirtz
Screenshot by David Gewirtz via Midjourney/ZDNET

It's unfortunate that the effect is for the quad of images, due to the fact that that makes it harder to drill into the 1 representation you like. But it's a starting point.

For my promotion, I wanted an representation of maine lasting successful beforehand of my car. I thrust a reddish Dodge Challenger and I thought that would beryllium chill for my bio page.

Show more

This time, alternatively of starting with the existent photograph of me, I utilized the generated illustration representation arsenic my starting point. As shown above, I uploaded it and got its URL.

AI representation  of David Gewirtz
Screenshot by David Gewirtz via Midjourney/ZDNET

Then, I combined the illustration representation with the antecedently retrieved effect worth and a prompt, and aft astir 20 spins, I got this quad:

AI images of David Gewirtz
Screenshot by David Gewirtz via Midjourney/ZDNET

Notice the /imagine prompt. The URL is astatine the beginning, and the effect punctual astatine the extremity had my effect number. That's however I tied the 2 images together.

Also: ChatGPT's caller representation generator shattered my expectations - and present it's escaped to try

While the representation connected the little near was perfectly terrible, the 1 connected the close wasn't bad. Strictly speaking, it didn't look wholly similar me. But it did seizure the aforesaid thematic benignant arsenic the archetypal illustration image, it was adjacent enough, and the car looked good.

But this was not my look and astir decidedly not my hair:

AI representation  of antheral   with a beard
David Gewirtz via Midjourney/ZDNET

To get the faces right, I utilized a instrumentality called InsightFace, which besides runs successful Discord. Getting InsightFace acceptable up is its ain project, and alternatively than taking you down that rabbit spread here, I'll constituent you to the tutorial I utilized to get started.

Show more

This video is from PIXimperfect. I truly similar this transmission due to the fact that the presenter showcases immoderate fantabulous representation tutorials, peculiar connected Photoshop features. So, don't conscionable ticker the video -- prevention the channel.

Once you person InsightFace acceptable up, we tin spell to town. The process involves 2 steps: uploading the look you privation to use, and uploading the representation you privation it applied to.

To upload the representation you privation to use, usage the /saveid command.

David Gewirtz successful  an image
Screenshot by David Gewirtz/ZDNET

When you benignant /saveid, you'll beryllium fixed a spot to upload an image. Then you request to springiness that representation a sanction ID. I called excavation "daviddoor" due to the fact that I'm lasting successful beforehand of a door. Remember that ID due to the fact that you'll usage it successful the adjacent step.

Now, it's clip for the look swap. Type /swapid:

AI representation  of David Gewirtz
Screenshot by David Gewirtz via Midjourney/ZDNET

Upload the representation you privation the look to beryllium applied to. Then benignant successful the ID you created earlier. If you're lucky, erstwhile you deed return, you'll get an representation with the caller face.

AI images of 2  men with beards
David Gewirtz via Midjourney/ZDNET

Of course, the hairsbreadth inactive isn't right.

Finally, I needed to hole the hair. For this, I dropped into Adobe Photoshop and utilized Generative Fill. Midjourney is large for creating full images. Photoshop Generative Fill is perfect for placing caller imagery connected apical of existing images and having it each crook unneurotic seamlessly.

Show more

Also: How to usage Photoshop's Generative Fill AI instrumentality to easy alteration your boring photos

AI images of 3  men

Various versions of me, some with and without hair.

Screenshot by David Gewirtz via Midjourney/ZDNET

The cardinal occupation was each the other hairsbreadth beneath the ears. To destruct that, I archetypal brought the Dave Head to thing cipher had ever seen before: a bald me. I selected the abstraction conscionable wherever I wanted the hairsbreadth removed, generated "bald", and Photoshop did the work.

Then I selected a smaller country and generated "curly hair". This took a fewer tries, but it worked out.

Also: ChatGPT conscionable made it casual to find and edit each the AI images you've ever generated

And, aft each the assorted AI effects, the last representation is below. 

One speedy note: the hairsbreadth present doesn't rather lucifer the tutorial hairsbreadth above. That's due to the fact that I had to recreate the process for demonstration, and the AI ever comes up with thing somewhat different. This is the existent last representation from my archetypal accumulation process, but the rightmost representation successful the Three Daves graphic supra shows however caller hairsbreadth could beryllium generated, adjacent if it's not precisely the aforesaid output.

AI representation  of David Gewirtz
David Gewirtz via Midjourney/ZDNET

Here are a fewer questions I've been asked since I published the archetypal article.

Show more

Can I inactive usage Midjourney for free? 

No. Midjourney nary longer has a escaped tier. The program I usage costs $8 per month. So far, I haven't deed immoderate limits with it, though it sometimes tin instrumentality a small portion for images to beryllium created.

What astir InsightFace? Is it free? 

InsightFace does connection immoderate escaped credits. I've done 4 oregon 5 look swaps and haven't utilized them up. It appears to instrumentality astir 3 "credits" per look swap, and you get 50 escaped credits.

Where does Picsi.ai acceptable into each this? 

So, erstwhile you tally retired of look swap credits, you'll request to subscribe to a Patreon relationship for Picsi.ai. There are 2 plans. The basal $10 per period program looks similar it volition bash good for astir people. As to the narration betwixt InsightFace and Picsi.ai, it appears that InsightFace is an open-source project, and Picsi.ai has created a usable Discord lawsuit for it. But I'm definite much volition beryllium revealed implicit time.

Have you utilized immoderate of these AI representation tools? What bash you deliberation of the look swap technique? Does this spark immoderate ideas for you? Let america cognize successful the comments below.


You tin travel my day-to-day task updates connected societal media. Be definite to subscribe to my play update newsletter on Substack, and travel maine connected Twitter astatine @DavidGewirtz, connected Facebook astatine Facebook.com/DavidGewirtz, connected Instagram astatine Instagram.com/DavidGewirtz, and connected YouTube astatine YouTube.com/DavidGewirtzTV.

Disclaimer: You should see the ineligible consequences (e.g. copyright) of utilizing AI-generated images earlier implementing them into your work.   

Read Entire Article