StoryLens transforms your photos into creative stories and brings them to life with AI-generated voice narration. Upload any image and watch as AI crafts unique tales inspired by what it sees.
microsoft/kosmos-2 - Advanced multimodal model for image understanding and story generationcoqui/xtts-v2 - High-quality neural text-to-speech synthesisClone the repository
git clone <repository-url>
cd storylens
Install all dependencies
npm run install-all
Set up Python environment for AI models
cd server
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
Configure environment variables
cp server/.env.example server/.env
# Edit server/.env with your configuration
Start the development environment
npm run dev
Access the application
storylens/
βββ client/ # React frontend
β βββ public/
β β βββ components/
β β βββ pages/
β β βββ utils/
β β βββ styles/
β βββ package.json
βββ server/ # Node.js backend
β βββ models/ # AI model integrations
β βββ routes/ # API routes
β βββ uploads/ # Uploaded images
β βββ generated/ # Generated content
β βββ requirements.txt # Python dependencies
β βββ package.json
βββ package.json # Root package.json
βββ README.md
POST /api/upload - Upload imagePOST /api/generate-story - Generate story from imagePOST /api/generate-audio - Convert story to speechGET /api/story/:id - Retrieve saved story# Server Configuration
PORT=5000
NODE_ENV=development
# AI Model Configuration
HUGGINGFACE_API_KEY=your_huggingface_api_key
COQUI_API_KEY=your_coqui_api_key
# File Storage
UPLOAD_DIR=./uploads
GENERATED_DIR=./generated
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
2 commits
JavaScript
83.0%
Python
12.9%
CSS
2.4%
HTML
1.6%
StoryLens transforms your photos into creative stories and brings them to life with AI-generated voice narration. Upload any image and watch as AI crafts unique tales inspired by what it sees.
microsoft/kosmos-2 - Advanced multimodal model for image understanding and story generationcoqui/xtts-v2 - High-quality neural text-to-speech synthesisClone the repository
git clone <repository-url>
cd storylens
Install all dependencies
npm run install-all
Set up Python environment for AI models
cd server
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
Configure environment variables
cp server/.env.example server/.env
# Edit server/.env with your configuration
Start the development environment
npm run dev
Access the application
storylens/
βββ client/ # React frontend
β βββ public/
β β βββ components/
β β βββ pages/
β β βββ utils/
β β βββ styles/
β βββ package.json
βββ server/ # Node.js backend
β βββ models/ # AI model integrations
β βββ routes/ # API routes
β βββ uploads/ # Uploaded images
β βββ generated/ # Generated content
β βββ requirements.txt # Python dependencies
β βββ package.json
βββ package.json # Root package.json
βββ README.md
POST /api/upload - Upload imagePOST /api/generate-story - Generate story from imagePOST /api/generate-audio - Convert story to speechGET /api/story/:id - Retrieve saved story# Server Configuration
PORT=5000
NODE_ENV=development
# AI Model Configuration
HUGGINGFACE_API_KEY=your_huggingface_api_key
COQUI_API_KEY=your_coqui_api_key
# File Storage
UPLOAD_DIR=./uploads
GENERATED_DIR=./generated
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
2 commits
JavaScript
83.0%
Python
12.9%
CSS
2.4%
HTML
1.6%