An AI-powered application that automatically creates engaging videos from a simple topic input. The app uses multiple AI services to generate scripts, voiceovers, images, and combines them into a complete video.
# 1. Install prerequisites (one-time setup)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install pyenv node ffmpeg
# 2. Install Python 3.13
pyenv install 3.13.0
# 3. Navigate to your project and setup
cd /path/to/your/youtube-video-creation
pyenv local 3.13.0
python -m venv venv
source venv/bin/activate
# 4. Install dependencies
pip install -r backend/requirements.txt
cd frontend && npm install && cd ..
# 5. Set your API keys
export STABILITY_API_KEY="your_stability_ai_api_key_here"
export MURF_API_KEY="your_murf_ai_api_key_here"
echo 'VITE_OPENAI_KEY=your_openai_api_key_here' > frontend/.env
# 6. Start both servers (use two terminals)
# Terminal 1: Backend
source venv/bin/activate && cd backend && python app.py
# Terminal 2: Frontend
cd frontend && npm run devThat's it! Open http://localhost:5173 and start creating videos! 🎬
Get API keys from these services:
- OpenAI API Key - https://platform.openai.com/
- Stability AI API Key - https://platform.stability.ai/
- Murf AI API Key - https://murf.ai/
- Open
http://localhost:5173in your browser - Enter a topic for your video (e.g., "Space Exploration", "Healthy Cooking")
- Click "Create Video" and wait for the AI to work its magic!
Processing time: 6-8 minutes total
- Script creation: ~10 seconds
- Voice generation: ~30 seconds
- Image generation: ~1-2 minutes
- Video processing: ~5-6 minutes
"ModuleNotFoundError: No module named 'flask'"
- Make sure virtual environment is activated:
source venv/bin/activate
"audioop-lts requires Python>=3.13"
- Verify Python version:
python --version(should be 3.13+)
"FFmpeg not found" or video processing errors
- Install FFmpeg:
brew install ffmpeg - Verify:
ffmpeg -version
Frontend can't connect to backend
- Make sure backend runs on port 5000 and frontend on port 5173
youtube-video-creation/
├── backend/
│ ├── app.py # Flask backend
│ ├── requirements.txt # Python dependencies
│ └── temp_files/ # Generated videos
├── frontend/
│ ├── src/ # React components
│ ├── package.json # Node dependencies
│ └── .env # Frontend API keys
└── venv/ # Python virtual environment