Quick Start
Generate your first video in under 5 minutes!
Step 1: Launch the Appβ
From the project root:
uv run python run-gradio.py
The app will start at http://127.0.0.1:7865
Step 2: Select Subjectβ
Choose from the dropdown:
- π Mathematics
- π§ͺ Chemistry
- β‘ Physics
- π» Computer Science
Step 3: Enter Problemβ
Type or paste your problem. Examples:
Math:
Find the area of a circle with radius 5 cm
Chemistry:
Balance the equation: Hβ + Oβ β HβO
Physics:
A car accelerates from 0 to 20 m/s in 5 seconds. Find acceleration.
Computer Science:
Explain binary search on array [3, 7, 12, 18, 25]
Step 4: Configure Settingsβ
Quality (Video Resolution)β
- Low (480p) - Fast, good for testing (~2-3 min)
- Medium (720p) - Recommended balance (~ 2-4 min)
- High (1080p) - Production quality (~15-25 min)
- 4K (2160p) - Maximum quality (~30-60 min)
Voice-overβ
- β Enabled - Adds AI narration (recommended)
- β Disabled - Silent video (faster)
LLM Modelβ
- Gemini 2.5 Flash - Fast, good quality (recommended)
- Gemini 2.5 Pro - Best quality, slower
- GPT-4o - Alternative LLM (requires OpenRouter)
TTS Model (if voice-over enabled)β
- Gemini 2.5 Flash TTS - Fast, natural voice
- Gemini 2.5 Pro TTS - Highest quality voice
Step 5: Generate!β
Click "Generate Video" and wait for:
- β Scenario generation
- β Script creation
- β Scene rendering
- β Voice-over generation
- β Final video compilation
Progress shows in real-time!
Step 6: Download & Shareβ
Once complete:
- πΊ Watch the video in the player
- πΎ Download the MP4 file
- π Find it in
output/{request_id}/final_video.mp4
Example Workflowβ
Quick Test (Low Quality, No Voice)β
Subject: Mathematics
Problem: "Solve: 2x + 5 = 15"
Quality: Low (480p)
Voice-over: Disabled
Time: ~2 minutes
Production Video (High Quality + Voice)β
Subject: Chemistry
Problem: "Balance: CHβ + Oβ β COβ + HβO"
Quality: High (1080p)
Voice-over: Enabled
LLM: Gemini 2.5 Pro
TTS: Gemini 2.5 Pro TTS
Time: ~20 minutes
Tips for Best Resultsβ
β Do:β
- Keep problems focused (one concept)
- Use clear, specific wording
- Start with Low quality for testing
- Enable voice-over for complete experience
β Avoid:β
- Multiple unrelated concepts
- Vague or ambiguous problems
- Very complex proofs (break into parts)
- Starting with 4K (test first!)
Troubleshootingβ
No video generated?β
- Check terminal for errors
- Verify Docker is running (if using Docker)
- Try simpler problem first
Audio issues?β
- Verify Google Cloud credentials
- Check .env file configuration
- Try VLC media player (better codec support)
Slow rendering?β
- Lower quality setting
- Disable voice-over temporarily
- Check Docker resources
Next Stepsβ
- βοΈ Learn about Configuration options
- π Read the Introduction for more details
- π¬ Visit GitHub to report issues or contribute
Ready to create amazing educational content! π