Stable Diffusion
GuideUtilizando Stable Diffusion
October 10th, 2022

I know that artificial intelligence is not in my line of Web technologies (yet), but as I have said in other posts. I'm a very curious person, I like to know how things work and these days I found an incredible project where the computer uses its intelligence to CREATE images from 0, the Stable Diffusion! 😯

So let's break down why I added this post, why not use some other service, and of course how it works.

❓ Why


I wanted to change my profile and polish it for some time, I waited for the time and decided to study more technologies and level up, raising my knowledge. One day, I was watching the news and I came across the magic of artificial intelligence, my Full Stack Programming teacher Igor, informed us in one of your videos, about it, and decide to go after it, search about it and understand how it works!

The programmer who developed the technology has done great documentation on his GitHub, open source code for everyone to use.

🍏 Communities


With several active arts communities, I see that this can make a big difference in the digital world!

Lexica

One of the biggest communities where you can be inspired by other designers Lexica, in it you can get the model of how they used the settings to reach that result.

Lexica

🔨 How it works?


First you should install Stable Diffusion on your computer. I used the help of a video on the channel IgorIA, where it follows the step by step of how you create your first image.

For this to work, we need two main things: Python and GitBash to clone the project from AUTOMATIC1111. Optionally, you can also use some kind of template, I used from this site huggingface, to cache.

How to generate?

Starting off, we set up the environment as we want the image to be created, and as the main text the computer should base on or upload your image, in the img2img tab.

label_1

With the same image, some other results in different tests:

label_perfil_1

label_perfil_2

label_perfil_3

✅ Conclusion


And that's it, with little, thousands of opportunities. But a little tiring, I don't think there's any point in writing or sending anything. I want to study more to improve my knowledge and have conclusive improvements in my future tests! I look forward to coming back and writing more about this artificial intelligence path for you. Bye 👋🏻