Skip to content

deviny411/manim-generation-AIGT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Manim AI Animation Generator 🎬

AI-powered web application that generates mathematical animations from natural language descriptions using Manim and Google Gemini AI.

Python FastAPI Manim License

✨ Features

  • 🤖 AI-Powered Code Generation: Uses Google Gemini to convert text descriptions into Manim code
  • 🎥 Video Rendering: Generates smooth MP4 animations using Manim
  • Simple Setup: Minimal dependencies and easy installation
  • 🎨 Clean Web UI: Intuitive interface for creating animations
  • 🔄 Real-time Processing: Get your animations in 30-60 seconds

📋 Prerequisites

🚀 Installation

1. Clone the Repository

2. Install FFmpeg

FFmpeg is required for video rendering. Choose your platform:

Windows

  1. Download: Visit https://www.gyan.dev/ffmpeg/builds/
  2. Download ffmpeg-release-essentials.zip (~88 MB)
  3. Extract the zip file to C:\ffmpeg
    • After extraction, you should have: C:\ffmpeg\bin\ffmpeg.exe
  4. Add to PATH:
    • Press Windows key
    • Type: environment variables
    • Click: "Edit the system environment variables"
    • Click: "Environment Variables" button
    • In User variables, find and select "Path"
    • Click: "Edit" → "New"
    • Add: C:\ffmpeg\bin
    • Click OK on all windows
  5. Verify Installation:
    • Open a NEW terminal
    • Run: ffmpeg -version
    • You should see version information

macOS

brew install ffmpeg

Linux (Ubuntu/Debian)

sudo apt update sudo apt install ffmpeg

3. Set Up Python Environment

create virtual environment

Install Python dependencies pip install -r requirements.txt

4. Make .env file

enter GEMINI_API_KEY=your_api_key_here

5. Running the program

cd backend python main.py

cd frontend python -m http.server 3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors