Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

yashksaini-coder/manim-server

Repository files navigation

📦 Installation

Prerequisites

Altough Docker is not required, it is recommended to make sure you have the necessary tools to render videos or to generate code.

And, depending on the model you want to use, you will need to have an API key for the model provider.

export OPENAI_API_KEY="your_openai_api_key"
export GROQ_API_KEY="your_groq_api_key"

Steps

  1. Clone the repository:
git clone https://github.com/yashksaini-coder/manim-server
  1. Install the requirements on the /api directory:
cd api
pip install -r requirements.txt

Now you have the option of running the API locally or using Docker.

Running the API locally

  1. Run the run.py script to start the API server.

Running the API using Docker

Build the Docker image:

  1. Run the following command from the root directory of the repository.
cd generative-manim
docker build -t manim-server-api .
  1. Run the Docker container:
docker run -p 5000:5000 manim-server-api
  1. You have the API running.

About

Manim is the Procedural Math animation render tool that can convert code into animations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published