GANs are built on a machine learning model that runs two parts known as the generator and the discriminator. A little under the hood, these AI algorithms use machine learning called Generative Adversarial Networks (GANs). At first glance AI Art Programs allow people to generate mind-blowing visuals by inputting a sentence into a text box.