How to Generate MINDBLOWING A.I. Art in 5 Minutes!!!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
what's popping beautiful people the internet i am the ai whisperer and in this video i will teach you how to generate the most beautiful art that you've ever seen in your entire life like this one and this one so if you're interested in becoming the next van gogh or the next picasso stay tuned because i will teach you how to generate the most beautiful art that you've ever seen in your entire life and the best part is you don't need to know any coding and we're going to do this all for free so grab a cup of coffee and let's get started alright so the first thing you want to do is click the link in the description and you'll be sent to this google collab notebook and if you don't know what google collab is it's a website that allows you to run python scripts all right so once you click it you'll notice that we have this beautiful title here of how to generate mind-blowing ai in five minutes and you'll notice that the original notebook is made by someone named katherine croson okay so this is um an engineer that created this beautiful art so please follow her she is a amazing coder so let's get started now the first thing we need to do is run our code blocks all right and we can run them with shift and enter on the selected code blocked all right so um there's another way you can do that you can go to run time and do run selection if you don't like the shift and enter which i don't know why shortcuts are beautiful but once you do that you'll notice that we have this output here and it's pretty well just saying like this is the gpu you have and gpus are perfect for training neural networks because it just makes it go a lot faster so let's run the second code block and really you just need to run these code blocks and it'll download some things for you and yeah so we'll just wait a couple minutes grab your beautiful cup of coffee and let's just wait like two minutes all right so we just downloaded our clip model and this is the neural network that connects language with text and so this is the first neural network in our beautiful algorithm here okay so we downloaded clip so now we have that neural network so let's head on over to the choose model code block now what you'll notice here is that there's a bunch of different neural networks that you can use and each neural network has was trained on a different data set so for example this imagenet is trained on the entire internet um face shq is just trained on human faces so if you want to generate human faces check out that one wiki art that's a neural network that's been trained on the wikipedia art so if you want to generate stuff similar to that just make sure you select it and this cobloc will download the selected model okay so there's a bunch of different models that generate different types of art i highly recommend checking them out but just click shift and enter on this code block with the selected models and it will download that model for you so we'll have to wait just another minute and i'll see you in a jiffy all right beautiful so our model is finished downloading and you'll notice with the check mark here or the number within the square brackets there um that'll tell you that the code block is done executing but once that's done we can run the next code block and this one should take a couple seconds but once we run this code block we can head on over to this final code block here where we can just start generating some beautiful art all right so you'll notice that there's an input text of a fantasy world and you can run this it's going to generate a beautiful picture of a fantasy world okay so this code block is done um so let's start off with this one and then i'll show you some cool tips and tricks that you can use to generate beautiful art and you can make nfts out of okay so let's just run this one if you get this thing just click yes just check mark it and once you run this with all the parameters that you have we'll play around with that in a moment you can run the art generator okay and you'll see that we start getting some beautiful output here we get a couple loading bars and it'll take about a couple iterations until you get beautiful art all right so to start off you'll notice that we have our i variable here we have the losses um don't worry about those what we want is the loss to go down to zero um so just pay attention to that but you'll notice that we have this first generated image that's just a bunch of noise but once this number here hits 50 because um of the interval images here um we're going to generate an image okay so you'll notice that at 50 it's going to generate something beautiful um and you can let it train until for a thousand and that will just be it 10 times more beautiful but the tension to detail with this ai is just magnificent okay um so yeah i'll see you in a moment when we have some beautiful results alright so already at 300 iterations we have something that's magnificent look at the details every single pixel this neural network thought about i think it's just absolutely beautiful and it's the first time in history that we have something like this that generates art right so this is at 300 iterations you can leave a training up to a thousand and you'll just see it get better and better now you can use this art wherever you want because you know this is very new technology and the government is very slow at things with new technology so um there's a bit of a gray area so feel free to use this wherever you want um but i want to show you some cool tricks now so i'm gonna stop this by clicking this stop button here and i'm gonna put in the sentence okay so i'll see you in a sec okay so we have the sentence here oh i okay i forgot the d here so this sentence in the distance he could see a giant cave surrounded by huge rocks in the sand comma oil on canvas by greg rakowski and james gurney so the key word by greg rotkowski gives you beautiful results so try in your own sentence like the center of the universe by greg rorkowski right just try in any sentence with by greg workowski because this is a key word that the neural network generates beautiful art and i'll show you some cool other um keywords but i'm gonna let this run and i'll show you guys what this generates all right so i let this one run for about 13 50 iterations and as you can see this is some beautiful art now i know you may be saying no way this was created by a neural network yes it was and if you want to learn more about these neural networks check out the course in the link description because i teach you how to become a master generative artist in this course so check it out but i want to show you guys some more so let's actually go back up stop this and let's put in another sentence all right so i'm putting another sentence with the beautiful greg rutkowski because this is our boy here and he generates beautiful art based off this neural network so this one is a matte painting oh i incorrectly so a matte painting of the power of dreams by greg ratkowski all right so let's check this one out i'm gonna let it run and i'll see you guys in another jiffy so have some coffee and i'll see you guys in a moment all right so already at 200 iterations we generated this beautiful environment um but nevertheless i want to show you guys one more trick that is just another beautiful trick um so for this what we need to do is we need to find an optical illusion on google okay and so i have this optical illusion um let me just show you well i have this folder of optical illusions but the one that we'll be using is this one here okay so i just grabbed that from google google images to search up uh optical illusion and you'll find it so i'm gonna drag and drop it into this folder directory here and you can find it with this uh folder icon here and once it's there you'll see the f the file we can double click it and we can check it out but the trick i want to show you is this initial image trick okay so you can have an initial image and it's going to generate something based off that initial image so we can copy the path by clicking the three dots here and then clicking copy path and pasting the path in this image initial uh parameter okay and we're gonna add a text here and i'll do that right now okay so this is the text that we're gonna try this time and you'll notice that this is this well i'll say the sentence in the distance he could see a world surrounded by galaxy oil on canvas by our boy greg rakowski and james gurney and then we say glowing and optical illusion so we added two keywords just to get some funkier results and so if we run this and run the next code block you'll see that um it'll output the normal information and actually i just want to talk about the seed here um the seed is sort of like a minecraft world right so you have a seed specific to an entire minecraft world so you can think of it as that sense where one seed is a specific generation of a minecraft world so it's a way of reproducing the results right so make sure if you want to have the same results just copy and paste the seed um yeah but you'll see that this is the initial image and it's going to generate something around this optical illusion and it's going to create something funky so i hope you're excited about what's about to happen now disclaimer um i don't know if this ai is gonna generate an optical illusion that can blow up a human brain so uh i hope that doesn't happen uh i'm joking though i'm joking i don't think it's going to generate an optical illusion that will blow up someone's brain but uh just be careful i guess i don't want to deal with that um but yeah you can start seeing that we have some really cool results at 50 iterations and that's very quick notice that my google collab is a lot quicker because i do have google collab pro so yours might be a bit slower and you know just make sure you have gpu here it should automatically set it to gpu but yeah look at this you can see already that we have a beautiful optical illusion um and it's just going to get better and better and more detailed and more detailed so it's just another beautiful algorithm and i hope you guys see the beauty in this algorithm this is this is a machine that generates art never in history has something like this ever existed right this is never never seen in history we have a beautiful art generator beautiful i think it's beautiful um i don't know about you this is just cutting edge technology this this is the technology that's gonna be written in the history books a hundred years from now right they're gonna talk about this it's just the progression of art as humans innovate right but yeah so very beautiful i'm gonna let it run um try out different optical illusions try out different sentences check out the discord in the link below it's a group of generative artists i'm hoping it becomes a community full of people like you and i and we just share the images that we've generated because this is cutting edge technology it's brand new technology i would love to see new creations that we're only scratching the surface right now right there's so many other keywords that have yet to be found there's just so much to this neural network um but check out the discord and you'll join a community of like-minded people but you can see that we have this funky looking optical illusion already so that's pretty cool so i'm actually going to stop this feel free to let it run i just want to show you the next section here where we can generate a video and so we can generate a video similar to the one i'm showing right now um so just make sure you run these code blocks it's going to take a while to generate the video it's just going to append each frame and create a video out of it um so very cool and then you can download it on your local computer and you can make an nft out of it you can post it wherever you want i know people on tiktok post it there and they get millions of views so check those out check out the course check out the discord and i'll see you guys in the
Info
Channel: The A.I. Whisperer
Views: 876,134
Rating: undefined out of 5
Keywords: Technology, Deep Learning, A.I., Neural Networks, Art, NFT
Id: 2hgfbf5OOoI
Channel Id: undefined
Length: 11min 46sec (706 seconds)
Published: Wed Nov 10 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.