Inspiration

As kids, we have big ideas but not the words or resources to express them

What it does

Allows kids to begin the story, then the AI generates a page of a storybook based on the prompt. It will continually ask the users what their character should do next, similarly to a choose your own adventure book

How we built it

We built it using:

  • Gemini : Created story text based on kid's prompts.
  • Pollination.ai : Created story image based on kid's prompts
  • Supabase and SQL : stored user prompts, stories, and story pages
  • TypeScript, HTML, CSS, and React : built the front-end and UI/UX
  • Copilot, ChatGPT, and Lovable : used for rapid prototyping, code completion, and design iteration

Challenges we ran into

Maintaining AI-generated code across multiple was tricky, and most of it had to be refactored to create a working product

Managing latency for real-time text and image generation took tuning, with us ending up using faster models with the trade-off of quality

Prompt engineering and ensuring that the AI returned data, stories, and images that were relevant to what the kid is envisioning

Accomplishments that we're proud of

Built a working prototype with simple yet clean UI/UX that kids would enjoy

Refactored significant portions of the AI-generated database and codebase to ensure the application was fully functional. This included restructuring logic and data flow so information could be passed, parsed, and saved correctly

Gained hands-on experience by integrated multiple AI models and APIs into one cohesive workflow, such as generating stories or checking text for profanity

Collaborated effectively as a team to bring the project to life

What we learned

How to use AI tools such as Lovable to create and prototype simple UI/UX quickly, as well as Copilot and ChatGPT sped up development

How to tweak AI prompts for better results, such as prompting the AI to balanced creativity with story structure, as well as relating images to the given story

How to set up, call, and parse results from Gemini models

How to do CRUD operations on the Supabase database

What's next for Adventure Story Books

Let kids share their own adventure storybooks with their classes

Bring stories to life with voice narration for an immersive experience

Create multilingual adventures so kids everywhere can join in

Add educational game-ification, such as literary challenges that make learning part of the fun

Find better models, or create better prompts for current models, to add custom art styles and better story cohesion while remaining ethical, and safe for young users

Built With

Share this project:

Updates