Skip to content

Shreevable/youtube-video-creation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Video Creation App 🎬

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.

🚀 Quick Setup for macOS

# 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 dev

That's it! Open http://localhost:5173 and start creating videos! 🎬

🔑 Required API Keys

Get API keys from these services:

  1. OpenAI API Key - https://platform.openai.com/
  2. Stability AI API Key - https://platform.stability.ai/
  3. Murf AI API Key - https://murf.ai/

🎯 How to Use

  1. Open http://localhost:5173 in your browser
  2. Enter a topic for your video (e.g., "Space Exploration", "Healthy Cooking")
  3. 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

🛠️ Troubleshooting

"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

📁 Project Structure

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors