Sogni: Learn
Visit Sogni.ai
  • 👋Welcome to Sogni
  • Learn
    • ❓FAQs
    • 😍Basics
      • Prompts
        • Dynamic Prompts
        • Prompt Length Token Limits
      • Switching Processing
      • Generating Batches
      • Generation Seed
      • Inference Steps
      • Guidance Scale
      • RealTime Generation (MacOS)
      • Guide Image
      • ControlNet
        • Preprocessors
        • ControlNet Models
      • Canvas
      • Masks
      • Creating Animations & Videos
    • 🤓Advanced
      • Preview Count
      • Upscaling Images
      • Schedulers
      • Processing
        • On-Device
          • Optimizing Memory
        • Supernet
      • Safe Content Filter
    • 🤖Models
      • About AI Models
      • Model Types
      • Available Models
      • Importing Stable Diffusion Models
      • Model Storage & Deleting Models
      • About Switching Models on Supernet
    • Telegram AI Sticker Bot
  • Tutorials
    • 🎥Video Tutorials
    • 🎓Guides
      • Controlling the Output
      • How to Transfer a Face From One Image to Another
      • How to generate Photorealistic Faces
      • How to Transform a Simple Sketch into Stunning Images
      • How to Create Subject-Steady Animations with Dynamic Backgrounds
      • How to use multiple ControlNets to generate a Single Image
      • How to generate larger batches of images (more than 16 at a time)
      • ▶️How to use Mask Tool
      • ▶️How to Mix Images
      • ▶️How to Extend Images with Canvas
  • Testnet
    • 💫About the Sogni Testnet
      • 💫Joining the Sogni Testnet
      • ⭐Spark Points
    • About Sogni Supernet
  • Sogni Studio Pro
    • Sogni Studio vs Sogni Studio Pro
    • ⬇️Installing Sogni Studio Pro
    • 🔒Why It's Safe to Download Sogni Studio Pro
    • ✅Updating Sogni Studio Pro
    • Account & Wallet
      • Supernet Generation Costs
    • 🐝Worker Mode
    • 🚧How to Recover Your Password
    • 🦊How to Add Your Sogni Wallet to MetaMask
  • Sogni Pocket
    • 📲Downloading Sogni Pocket
  • SOGNI FAST WORKER
    • 🐝About Sogni Fast Worker
    • ⬇️Running Sogni Fast Worker Locally
    • ⬇️Running Sogni Fast Worker Remotely
    • ❓Fast Worker FAQ
    • 🧠Sogni Fast Worker Advanced Configuration
  • Rewards
    • 🙋Account Creation & Verification Reward
    • 🌟Daily Boost Reward
    • 🌟Referral Reward
Powered by GitBook
On this page

Was this helpful?

  1. Tutorials
  2. Guides

How to Transfer a Face From One Image to Another

PreviousControlling the OutputNextHow to generate Photorealistic Faces

Last updated 9 months ago

Was this helpful?

You can mix the face from one image with body from another one by following these steps:

1. Generate the image that has the face you would like to use. Save it to the gallery

2. Generate the image that has the body you would like to use. Save it to the gallery

3. Select the Stable Diffusion model you want to use for the final image. It should be one that supports ControlNet.

4. Create a mask image that only has the face with transparent background. You can use the ControlNet preprocessor to do this:

  1. Drag the “face” image from the gallery to the controlNet module.

  2. Select the Segmentation preprocessor (second one from the bottom on the left side of the CN image)

  3. Tap the subject mask button and make sure you have transparent background selected. This should create the mask you need with only the face. Note: If your face image also has a body or other things you need to remove from the mask, click the “Send to Main Window” button to the right of the CN image, then activate the "Lasso Eraser / Mask Tool".

5. Select the InPaint CN Model.

6. Restore the “body” image from the gallery with all of its settings, and turn seed shuffle OFF.

7. Drag and drop the “body” image from the gallery to the Guide Image module. Set strength between 50-65%.

8. Zoom and pan the CN face mask image so it is in the correct position relative to the body image.

9. Generate the image

10. With real-time rendering ON, adjust the position of the face mask, steps, guidance, etc. until the image is right.

🎓