The Ultimate Clothes Swapping Tutorial Using Fooocus AI – FREE AI Tool

In this video we will be seeing how to swap clothes using Fooocus AI and Stable diffusion, a completely FREE AI tool. We will be seeing two ways of doing a clothes swap – by writing text prompts and also by swapping real life photos of clothes by mixing inpainting and image prompts. We will also be seeing how to create advanced custom masks in Photopea so we can change the clothes in a precise manner. Here’s the video:

Video Summary

This tutorial by Kush Sharma from Creative Pad Media provides a comprehensive guide to swapping clothes using the free Fooocus AI tool, focusing on achieving realistic results without paid software.

Key Strategies and Tools:

  • Precise Masking (Photopea): Rather than manual painting in Fooocus, which often causes anatomical errors [03:30], the creator suggests using Photopea (a free Photoshop alternative) to generate a precise black-and-white mask to isolate only the clothing [07:00].
  • Method 1: Swapping via Text Prompt: Upload the mask to the inpaint tab and provide a descriptive prompt. To maintain realism, it is best to choose new clothing styles that are structurally similar to the original outfit [14:27].
  • Method 2: Using Reference Clothing Photos: To transfer specific clothes from another photo onto a subject, remove the background of the garment image first [18:59]. Then, use the Image Prompt feature and enable “mixing image prompt and inpaint” in Developer Debug Mode to blend the reference with the model [20:33].
  • Advanced Refinement:
    • Edge Correction: Fix color artifacts or blurry boundaries by painting over the edges and regenerating with an empty prompt [26:17].
    • Fixing Anatomy: Correct distorted fingers or skin issues by switching the inpaint method to “Improve Detail” and using a specific prompt like “detailed female hand” [29:31].
  • Resource Management: If using the free Google Colab plan, downscale high-resolution images to under 2000 pixels on the long side to prevent the session from crashing [21:53].

Important Links

Link to the video which shows you how to set up Fooocus AI on your computer using Google Colab:

How to Install Fooocus AI

Link to download the images shown in the video:

Images used in the video

About the Author

portrait photographer for portfolio shoot in pune

Hi there, I'm Kush Sharma, the founder of Creative Pad Media, an organization dedicated to simplifying photography, videography and editing education.

We have over 50 online courses that cover various genres in photography & videography, catering to both beginners as well as professionals. These courses are available via Udemy.com. Our courses have been downloaded in over 180 countries.

I hope to see you inside a course very soon!

Similar Posts