System Requirements
Backend
- Python 3.8 or higher
- pip package manager
- 2GB+ free disk space
- FFmpeg for video processing
Frontend
- Node.js 16 or higher
- npm or yarn
- Modern web browser
Backend Installation
1. Clone the Repository
2. Set Up Python Virtual Environment
Navigate to the backend directory:You should see
(venv) in your terminal prompt when the virtual environment is activated.3. Install Python Dependencies
With your virtual environment activated, install all required packages:- fastapi (0.115.0) - Web framework for the API
- uvicorn (0.32.0) - ASGI server
- python-dotenv (1.0.1) - Environment variable management
- pydantic (2.9.2) - Data validation
- google-generativeai (0.8.3) - Gemini AI SDK
- manim (0.18.1) - Mathematical animation engine
- moviepy (2.0.0+) - Video editing
- requests (2.32.3) - HTTP library
- python-multipart (0.0.12) - Form data parsing
- Pillow (10.0.0+) - Image processing
4. Install FFmpeg
FFmpeg is required for video composition and audio processing.5. Install Manim
Manim is used to generate mathematical animations for slides:Manim may require additional system dependencies (LaTeX, Cairo, Pango). See the Manim installation guide if you encounter issues.
6. Configure Environment Variables
Create a.env file in the backend/ directory:
.env file with your API keys:
How to get Gemini API key
How to get Gemini API key
- Go to Google AI Studio
- Sign in with your Google account
- Click “Create API Key”
- Copy the key and paste it in your
.envfile
How to get Sarvam AI API key
How to get Sarvam AI API key
- Visit Sarvam AI
- Sign up for an account
- Navigate to API settings
- Generate an API key
- Copy the key to your
.envfile
How to get Unsplash API key
How to get Unsplash API key
- Go to Unsplash Developers
- Create an account or sign in
- Create a new application
- Copy the Access Key
- Paste it in your
.envfile
7. Verify Backend Installation
Start the FastAPI server:Frontend Installation
1. Navigate to Frontend Directory
2. Install Node Dependencies
- React (19.1.1) - UI framework
- Vite (7.1.7) - Build tool and dev server
- axios (1.12.2) - HTTP client for API calls
- @hello-pangea/dnd (18.0.1) - Drag and drop functionality
- lucide-react (0.545.0) - Icon library
- pptxgenjs (4.0.1) - PowerPoint export
- Tailwind CSS (4.1.14) - Styling framework
3. Start Development Server
The frontend is pre-configured to connect to the backend at
http://localhost:8000. If you change the backend port, update the API configuration in frontend/src/utils/api.js.4. Verify Frontend Installation
Open your browser and navigate to:- Topic input field
- Number of slides selector
- Language dropdown (English, Hindi, Kannada, Telugu)
- Tone selector (Formal, Casual, Educational)
- Generate button
Directory Structure
After installation, your project structure should look like:The
backend/outputs/ directory and its subdirectories are automatically created by the application when you generate your first presentation (see backend/config.py:25).Next Steps
Quickstart
Generate your first AI video presentation
Configuration
Customize Manim settings, models, and output quality
API Reference
Explore the FastAPI endpoints
Troubleshooting
Common issues and solutions
Common Installation Issues
pip install fails on Windows
pip install fails on Windows
If you encounter build errors:
- Install Microsoft C++ Build Tools from Visual Studio
- Ensure you have the latest pip:
python -m pip install --upgrade pip - Try installing packages individually to identify the problematic one
Manim installation fails
Manim installation fails
FFmpeg not found
FFmpeg not found
After installing FFmpeg, verify it’s in your PATH:If not found:
- Windows: Add FFmpeg’s
binfolder to System Environment Variables - macOS/Linux: Ensure the installation completed successfully and restart your terminal
Port 8000 or 5173 already in use
Port 8000 or 5173 already in use
To use different ports:Backend:Frontend:
Edit Remember to update the API URL in
vite.config.js and set:frontend/src/utils/api.js if you change the backend port.