Generate Stories + Consistent Images With AI


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

โ€‹Unsubscribe | Update your profile | LearnWithHasan - 37 Bayard Ave, Toronto, Ontario M1R4A4

Hi! Hasan.

A combination of Human, Father, Developer, Online Instructor, YouTuber, and Technophile!

Read more from Hi! Hasan.

What's in today's newsletter: The Fastest Way To Get Traffic To Any Website! I Discovered a New Way To Make Money With WordPress New Research: The Power of Semantic Routing The Fastest Way To Get Traffic To Any Website! Are you tired of guessing whatโ€™s holding your website back from getting traffic? In Short, the solution is to discover hidden opportunities! I'm so excited to share with you a game-changing Free tool I developed recently that will help you easily and quickly get traffic to...

Want to know the secret to rapidly generating income online? It's simpler than you think: Identify a specific problem for a target audience. Sell the solution! And guess what? With AI, this process has become lightning-fast! ๐Ÿš€ Today, I'm pulling back the curtain to show you: โœ… A REAL example of using AI and automation to generate an income stream online. โœ… How to automate your work AND sell your solution online. โœ… The game-changing tip to transform this strategy into a recurring revenue...

Today, I want to introduce a new AI tool Iโ€™ve recently developed. Itโ€™s designed to help you conduct intensive topic research, complete with search metrics, and create blog post drafts directly on WordPress. Something like this: The best part? This tool, along with its source code, will be available to you completely free! I created a full video explaining how to use and obtain the tool. Click the button below and enjoy! Click Here Hasan Unsubscribe | Update your profile | LearnWithHasan - 37...