What's Inside This Week's Newsletter:
- I Achieved 90% Consistency With AI Story Images
- I Built a Sketch To Realistic Image Converter - Try It!
- Get Free Lifetime Access To Power Membership ๐ฎ
- Quote of the Week ๐ฌ
I Achieved 90% Consistency With AI Images.
So what's the point?!
I am a father of two kids and I started writing stories for older children that introduce complex technical concepts in engaging ways for 7-12-year-olds, mainly for my kids, and then published them publicly.
The main challenge I faced was in generating images for those stories.
If I were to hire someone, each story would cost me at least $250-$400, and scaling this would be expensive.
So, I decided to go with AI-generated images.
The main challenge here was in generating consistent characters throughout the pages of the storybook.
and that's where my research and experiments began!
Today, I am so close and am on 90% accuracy.
โ
๐ ๐๐ฒ ๐๐ฉ๐ฉ๐ซ๐จach
I am working mainly on a combination of the following:
1- Short Descriptive prompts for each character, something like:
โถ ๐โ๐๐๐๐๐ก๐๐_1 = ๐๐๐, ๐ 10-๐ฆ๐๐๐-๐๐๐ ๐๐๐ฆ, ๐ค๐๐กโ ๐๐๐๐ค๐ โ๐๐๐, ๐ค๐๐๐๐๐๐ ๐ ๐๐๐ ๐ก-๐ โ๐๐๐ก ๐๐๐ ๐๐๐ข๐ ๐๐๐๐๐ .
Testing and evaluating different prompt structures that get the best results. especially when we have multiple characters.
2- Testing and evaluating with different Image Generation models.
3- Fine-tuning image Generation Models on Characters and Working on a technique to combine different generated characters in one scene.
4- Testing the best styles that help the model generate consistent scenes
โถ Example: "๐ท๐๐๐ค ๐กโ๐๐ ๐๐ ๐โ๐๐๐๐-๐ ๐ก๐ฆ๐๐"
Working now on > 95% accuracy ...
I will share all the results, and the prototypes soon :) Stay Tuned!
I Built a Sketch To Realistic Image Converter - Try It!
Here is how I built it:
1- For the main UI, I used streamlitโ
2- I used GPT-4o for image understanding and generating a prompt for Image Generation.
3- Stable diffusion was used for image generation.
Now it is time to test with different models, then hop into local models to make this private and free. stay tuned!
Click the button below to see all this in action and download the full source codes for streamlit and the new Nextjs Prototype.
Get Free Access To Lifetime Power Membership ๐ฎ
You still have time! I decided to give 3 Lifetime Power Memberships for free (worth $2397)
I sent an email last week. In case you missed it, here's how you can join!
The rules are simple:
- Post (or comment) somewhere on the internet about how LearnWithHasan has improved your life/career/business/skills (i.e., Reddit, X, Linkedin...). Then, Send the screenshot using this form ๐
- Thatโs it! Then, on the 15th of Next month, Iโll randomly pick three people who submitted the form and give them a Power membership for lifeโฆ for free.
Even if you donโt win, you get to help me spread the word and help your favorite instructor continue to do what he loves and provide more value โค๏ธ
Good luck, and thanks for your support!
P.S. The winner will need to verify they are the actual user of the post (no cheating ๐).
P.P.S. If youโre already a Lifetime Member and end up being the winner, you can gift the membership to someone else and make their day.
Quote of the Week ๐ฌ
"Discipline is the bridge between learning today and leading tomorrow."
See you next week with new pulses!
Hasan