I generated Harry Potter's professional headshot with AI.
And you can do this for yourself for free with a few lines of Javascript ๐
To follow along you need these 2 things:
1๏ธโฃ Replit.
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: tryleap.ai.
Upload your images ๐ธ
I uploaded three images of Harry Potter to fine-tune a model.
A few minutes later, I had a custom model I could use to generate as many professional headshots as I wanted. ๐คฏ
Swap in your pictures and you're ready to go ๐
That's a wrap!
If You liked this thread.
1. Follow @Div_pradeep for more such content around web development, resources, tips, and cheatsheet.
2. RT the first tweet to share it with other people.
I appreciate it!
Thanks for reading.