Today, we launched virtual try-ons of clothing, the latest feature that shows how clothes appear on real models sporting various body sizes and shapes. This includes the subtle but vital details like how clothing drapes folds, folds, clings wrinkles, and stretch. In order to achieve this we used our shopping AI researchers created a brand new artificially-generated AI model that generates realistic depictions of clothes on humans.
Let’s have a look at this brand new AI model and the way it drives our virtual trial-on (VTO) option.
Generating images that look like try-ons using AI
The most well-known image of VTO is from the film “Clueless.” We’ve come quite a ways since Cher’s closet, but. Modern techniques, such as geometric warping allow you to cut-and-paste and then deform an image to create a shape. However, the final images aren’t quite hitting the mark. Clothing doesn’t actually adjust to your body and display visual imperfections such as poorly placed folds, which make clothes appear oddly shaped and appear unnatural.
Therefore, when we set out to develop a new VTO feature that we wanted to creating every one of the pixel in a garment by hand to create real-looking, high-quality images. We came up with a solution using our latest algorithm based on diffusion.
To comprehend the mechanism behind this model Let’s first understand diffusion. The process involves slowly adding additional inches (or “noise”) to an image until it’s impossible to recognize — then completely removing the noise to ensure that the initial image can be recreated in pristine quality. Text-to-image programs such as Imagen make use of diffusion, along with text taken from an Large Language Model (LLM) to create a real-looking image purely based on the text you input.
Inspired by Imagen We have decided to tackle VTO with diffusion however, with an added twist. Instead of utilizing text as an input for diffusion, we make use of two images that show a clothing item and one of a human. Each image is transmitted to its individual neural network (a U-net) and then shares data between them using a process known as “cross-attention” to generate the output, which is a photorealistic picture of the wearer wearing the clothing. The combination of images-based diffusion and cross-attention makes the basis of our brand novel AI model.
Training using Google’s Shopping Graph
To create the VTO feature as efficient and real as is possible We put our brand new AI model through a rigorous and thorough training. Instead of learning it using the use of an LLM (like Imagen does) we used the Google Shopping Graph which is the world’s most complete data set of the latest items such as sellers, brands reviews and inventory.
The model was trained using a variety of images, each featuring the wearer with two posesLet’s say the image shows someone wearing a t-shirt that is positioned sideways, and the other standing in front. In this situation the AI model learns to associate how the shape and design of the shirt when it is in the sideways posture to the person who is in the forward posture and vice versa until it is able to create real-looking pictures of the shirt worn by the person from all angles. To step it to the next level we ran this test by using millions of random images of different clothing and individuals. The results let you check out what a dress looks on the model you like.
From today, you are able to test-on virtual clothes for women’s tops from brands on Google’s Shopping graph that include Anthropologie, LOFT, H&M and Everlane. As time passes the tool will become much more precise, and will be expanded to other popular brands.








