Using Google Colab and an API_KEY to Fine-Tune a Stable Diffusion Model
Google Colab and an API_KEY from @leap_api can be used to fine-tune a Stable Diffusion model. Here is a guide on how to do it, as well as a discussion on how AI will soon be able to generate images that are indistinguishable from reality.

Santiago
Machine Learning. I run https://t.co/iZifcK7n47 and write @0xbnomial.

-
Instagram is dead.
— Santiago (@svpino) March 14, 2023
In the next 3 - 5 years, every single image in social media will be generated by AI.
And here is the kicker: It will be impossible to tell fake from reality.
I wrote a few lines of Python code to show you how screwed we are: -
You need two things if you want to do the same:
— Santiago (@svpino) March 14, 2023
1. Google Colab.
2. An API_KEY from @leap_api to fine-tune a Stable Diffusion model.
All of this is free, so go here and grab your API KEY: https://t.co/6TkMEDWgGH.
Don't worry; I'm sharing my code at the end of this thread. -
How hard could it be to generate unlimited photos of anyone?
— Santiago (@svpino) March 14, 2023
It took me 30 minutes to make an Obama generator.
Fewer than 100 lines that you can use to generate hyperrealistic photos of you, your neighbor, or anyone you desire.
And you can do this at scale! pic.twitter.com/xUtxIyNsY5 -
I uploaded two images from my code to fine-tune a model.
— Santiago (@svpino) March 14, 2023
Less than 1 minute later, I had a custom model I could use to generate as many images of Obama as I wanted.
The more images you use, the better the model will be.
The results are scary. pic.twitter.com/uvd5cvidQD -
My prompt: "A photo wearing a tall black hat and sunglasses."
— Santiago (@svpino) March 14, 2023
Wow!
Here is a link to the entire code base: https://t.co/LdmtSZlMJ5.
Remember:
1. Get an API KEY from https://t.co/6TkMEDWgGH.
2. Use your own photos
Now, tell me how long it will be before Instagram is gone. pic.twitter.com/CXryLXEumv -
The team @leap_api reached out with this link.
— Santiago (@svpino) March 14, 2023
If you want good prompts, take a look:https://t.co/tPKWn2E4wS