Storytelling plays a crucial role in cultural preservation, education, and entertainment. However, many African historical figures remain underrepresented in children's literature. Secondly, in Nigeria, the curriculum does not give appropriate attention to history which is very vital. As a result, children grow uninterested in learning about their roots and national heroes.
Story-Story is AI-powered storytelling system designed to generate engaging and factual narratives about African historical figures for young readers. The system employs an agentic workflow powered by large language models (LLMs) and diffusion-based image generation techniques to create comprehensive, child-friendly stories. The system's architecture, agent roles, and implementation details are outlined and discussions on its potential impact on education and cultural representation are made.
Our system takes in the name of a historical figure and autonomously generates a 10-page illustrated story, ensuring factual accuracy and cultural relevance. The key contributions of this work include:
Story-Story is built on an ensemble of AI agents orchestrated using LangGraph. The system consists of five primary agents:
historical_figure
chapter_title
historical_figure
, chapter_title
chapter_content
historical_figure
, chapter_title
prompt
historical_figure
, prompt
image
historical_figure
, chapter_content
, image
score
The entire process follows a sequential workflow:
The system is built using:
pip install -r requirements.txt
python main.py --historical_figure "Ahmadu Bello"
This command generates a complete story with illustrations, storing the output in a Supabase database.
The system uses Supabase to store generated stories. The database consists of two main tables:
Column | Type | Description |
---|---|---|
id | Primary Key | Unique identifier for story |
title | String | Title of the generated story |
historical_figure | String | Name of the historical figure |
description | String | Brief story description |
created_at | Timestamp | Date of creation |
Column | Type | Description |
---|---|---|
id | Primary Key | Unique identifier for each page |
story_id | Foreign Key | References Stories.id |
page_number | Integer | Page number in the story |
chapter | Text | Chapter content |
illustration_url | String | URL to the illustration |
prompt | Text | AI-generated prompt for illustration |
Story-Story successfully produces engaging and informative narratives for African historical figures. The content is structured, historically accurate, and suitable for children. The generated illustrations complement the stories, enhancing engagement.
While Story-Story provides a robust storytelling framework, the following enhancements are planned:
Story-Story showcases the power of AI-driven storytelling in bringing African historical narratives to children. Given the recent advancements in LLM agents and multimodal AI, a platform such as Story-Story is feasible and provides a fresh and engaging way to automate storytelling, enhancing education and cultural understanding.
Future enhancements, such as RAG-boosted accuracy and the addition of multiple languages, will solidify its integrity and make the delivery of African literature more seamless.
There are no models linked
There are no datasets linked
There are no datasets linked
There are no models linked