Aibrary is a platform that combines children's creativity with AI assistance for creating personalized storybooks.
-
Interactive Storytelling
- Children create unique stories through a choice-based game powered by an LLM (e.g., GPT-4).
- The AI guides the narrative by providing options at each step.
-
Background Generation
- An image generation model analyzes the story and generates relevant background scenes.
-
Character Illustration
- Children illustrate the characters on the AI-generated backgrounds, bringing their stories to life.
- Interactive storytelling with AI guidance
- AI-generated contextual backgrounds
- Children's creative character illustrations
- Seamless AI integration
- Fosters creativity and self-expression
- Engaging and fun learning experience
- Personalized storybooks
- Collaboration with AI technologies
Aibrary aims to provide a delightful and educational platform for children to develop their storytelling abilities, artistic skills, and familiarity with AI in an engaging way.
To start the ML server, follow these steps:
-
Navigate to the
ml_server
directory:cd ml_server
-
Create a new Python virtual environment named
aibrary
with Python 3.8:conda create -n aibrary python=3.8
-
Activate the virtual environment:
conda activate aibrary
-
Install the required Python packages:
pip install -r requirements.txt
-
Run Server:
flask run
The ML server should now be running and ready to serve AI models.
To start the frontend, follow these steps:
-
Navigate to the
frontend
directory:cd frontend
-
Start the Nginx web server:
sudo systemctl start nginx
To start the backend server, follow these steps:
-
Navigate to the
backend
directory:cd backend
-
Build the Gradle project:
gradlew build
-
Run the JAR file:
java -jar backend-0.0.1-SNAPSHOT.jar
The backend server should now be up and running, handling requests from the frontend and interacting with the ML server.