Settings

Theme

Show HN: Tonight's Bedtime Story – AI generated stories with images and audio

bedtime-ai.nokk.io

3 points by bradleyboy 2 years ago · 3 comments · 1 min read

Reader

Hey HN - sharing out my holiday hacking project.

Tonight's Bedtime Story uses the OpenAI API to generate a bedtime story based on a prompt (or you can just say "tell me a story"). It also generates an image prompt and uses that to create a cover image with dalle-3 then turns the text of the story into audio for easy playback. It's been interesting to see how well this does (as well as some of its limitations).

Heres one of my favorite stories it has generated so far: <https://bedtime-ai.nokk.io/stories/2Zek3PtK4SoQaHO1edZDPuQnh...>

The project is built on Nokkio[0], a full-stack React framework, and the code is available on GitHub[1].

Hope you like it, suggestions welcome!

[0] https://www.nokk.io

[1] https://github.com/bradleyboy/bedtime-ai

lunarcave 2 years ago

Love that this is open source. Someone I know built something similar here: https://matchbooks.ai/

andsoitis 2 years ago

Do kids like the stories?

  • bradleyboyOP 2 years ago

    small sample size, but yes! I've tried it on my son, and had some friends also try it out with kids of various ages. Being able to to turn whatever idea is in their head right that instant into a story seems to be the real hit.

    Some feedback I've received from other parents is they wish there was more than one image to help keep the listener a little more engaged. Been tinkering with this but it is challenging to get a consistent series of images.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection