Public
HTTP
Readme
Inspired from a RedwoodJS demo I mde last year, this adds generative art powered by Fal to the bedtime story maker.
Start writing a story by picking
- a style (spooky, colofrol, adventurous
- an animal (penguin, mouse, unicorn, whale ...)
- a color for the animal
- and activity (befriends aliens, goes to the doctor, rides a rollercoaster, bakes a cake for friends)
It uses OpenAI to write a children's bedtime story
- title
- summary
- story
for a "fantastical story about a green whale who rides the bus" or the "spooky story about the tomato fox who explores a cave".
Then using the summary, OpenAI geenrates another prompt to describe the instructions to geneate a childrens story book image.
That's sent to Fal to generate an image.
Stories get saved to bedtime_stories
in SQLite for viewing, searching and maybe sharing.
You then get a bedtime story to enjoy!
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
stevekrouse-bedtimestorymaker.web.val.run
Updated: September 20, 2024