ad
ad

How Celebrity AI Are Created | Deepfake Step By Step Tutorial

People & Blogs


Introduction

In 2024, a sensational AI-generated image of Katy Perry attending the Met Gala surprised the celebrity fandom. While some were amazed by the realism, others noticed the peculiar flaws, such as misshapen heads of photographers and odd angles. Despite these details, the image was convincing enough to deceive even Katy Perry's mother. In this article, we will explore how images like this are generated today, breaking down the tools and methods so that you, too, can create your own celebrity images.

Introduction

This tutorial caters to intermediate users familiar with Stable Diffusion. If you are a beginner, there are many courses on Udemy and tutorials available on this channel to help you get started.

Method 1: Using Stable Diffusion and Loras

The simplest way to create celebrity images involves utilizing Stable Diffusion models. To begin, you'll want to use a well-known model such as Epic Realism or Stable Diffusion (SD) 1.5.

  1. Load the chosen model.
  2. Type a prompt using the names of celebrities (e.g., Emma Watson).
  3. Generate an image, but realize that initial results may not closely resemble the celebrity.
  4. To enhance realism, you can use Loras—customized models available at sites like Civit AI.
  5. Download and incorporate a Lora trained on your chosen celebrity.
  6. Adjust the model weights as recommended, and regenerate the image.

If the results are still unsatisfactory, it’s time to move to the next method.

Method 2: Inpainting

Inpainting is a powerful technique that allows you to refine images more effectively. Here’s how to do it:

  1. Load an inpainting model, such as Epic Realism Inpainting.
  2. Ensure you have a quality image that has good lighting.
  3. Install the RP extension for face-swapping.
  4. Load your image and select the face you want to swap.
  5. Carefully inpaint over the face, avoiding hair.
  6. Generate the image to see the blended face.

Further adjustments can be made to the body using inpainting, ensuring the figure aligns more closely with the celebrity's image by specifying prompts like "slim body white dress."

Method 3: Removing Backgrounds

If the background isn't ideal, consider removing it. Here’s how:

  1. Load the image in the inpainting tab and transfer it to the extras tab.
  2. Install the Stable Diffusion Web UI RBG extension, which removes backgrounds effectively.
  3. Select the U2 net P option for separating the foreground from the background, then hit generate.

Now, you can add a new background using tools like Canva or Photoshop for a more polished look.

Method 4: Inpainting New Subjects

If you want to add new elements to your image, inpainting can help:

  1. Ensure your original image has the right dimensions.
  2. Inpaint the specific area where you want to add something.
  3. Input a prompt for the new subject.
  4. Generate the image, and then follow the face-swapping process again if needed.

You’ll be amazed at how seamless the final image looks, making it appear as though the subject was truly present.

Conclusion

By understanding these methods, you can demystify how AI-generated celebrity images are created. However, it's essential to use these tools ethically. This tutorial aimed to break down the processes used to create the Katy Perry image and educate on inpainting techniques.

Thank you for reading! If you want to dive deeper into inpainting techniques or Stable Diffusion, check out our extensive range of tutorials available on our channel.


Keywords

Celebrity AI, AI-generated images, Stable Diffusion, Loras, inpainting, face swapping, background removal, ethical AI usage.


FAQ

Q: What is Stable Diffusion?
A: Stable Diffusion is a text-to-image model that generates images based on textual descriptions.

Q: What are Loras?
A: Loras are specialized models trained on specific inputs, such as particular celebrities, enhancing the quality of AI-generated images.

Q: How do I use inpainting?
A: Inpainting involves selectively modifying parts of an image by defining a prompt, allowing you to improve or swap out specific elements.

Q: Is it ethical to create AI-generated celebrity images?
A: While creating AI-generated images can be fun and artistic, it is crucial to use these tools responsibly and ethically, respecting the likeness and rights of individuals.

Q: What tool do I need for background removal?
A: You can use the Stable Diffusion Web UI RBG extension, which effectively separates subjects from their backgrounds.