An AI-powered PowerPoint presentation generator.
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
SlideGen is an intelligent agent designed to automate the creation of PowerPoint presentations. By leveraging Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG), SlideGen can generate structured, content-rich slides from simple user prompts or uploaded documents.
SlideGen offers a comprehensive workflow for generating presentations:
- Configuration Management:
- Manage connections to various LLM providers (OpenAI, Azure, Anthropic, Ollama, etc.).
- Configure Embedding models for knowledge base indexing.
- Knowledge Base Management:
- Upload and manage files (PDF, DOCX, etc.) to be used as reference material.
- RAG support for generating content based on uploaded documents.
- PPT Generation Workflow:
- Streamed Content Generation: Real-time generation of presentation outlines and content in Markdown format.
- Interactive Editing: Edit the generated content before finalizing the slides.
- PPTX Export: Convert the finalized Markdown into a polished PowerPoint file (
.pptx).
To get a local copy up and running, follow these simple steps.
- Python 3.11+
- PostgreSQL
- Redis
- Clone the repo
git clone https://github.com/jeesonwang/SlideGen.git cd SlideGen - Install dependencies
- Using
uv(Recommended):uv sync
- Or using
pip:pip install -r requirements.txt
- Using
- Set up environment variables
- Copy the sample environment file:
cp .env.sample .env
- Update
.envwith your database credentials, API keys, and other configuration settings.
- Copy the sample environment file:
-
Start the application server:
python main.py
The server will start at
http://127.0.0.1:7860. -
Access the API documentation:
- Swagger UI:
http://127.0.0.1:7860/docs - ReDoc:
http://127.0.0.1:7860/redoc
- Swagger UI:
Distributed under the MIT License. See LICENSE for more information.
Project Link: https://github.com/jeesonwang/SlideGen