An open API service indexing awesome lists of open source software.

https://github.com/jerryblessed/slideshowai


https://github.com/jerryblessed/slideshowai

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# ๐Ÿ“† AI Slideshow Creator โ€“ Installation Guide

*Also known as Prompt2Slides*

This guide helps you set up the **AI Slideshow Creator**, a Flask web app that uses **Gemini, Pexels, Pixabay, and ElevenLabs APIs** to generate **AI-powered, offline-ready educational slideshows** โ€” complete with narration, images, and videos โ€” all from a single prompt.

> ๐ŸŽฅ [**Pitch Deck**](https://docs.google.com/presentation/d/1la6VuclIqyZKOKgzifkMSvo_3OJAu-2QX1-pff0Y2a0/edit?usp=sharing) โ€“ View the official presentation slide submitted for United Hacks V5!
>
> ๐ŸŒ [**Live Web App**](https://lighteducation.pythonanywhere.com/) โ€“ Try out the deployed version now!

---

## โœ… Requirements

* Python 3.9+
* `pip` (Python package installer)
* API Keys for:

* [Google Gemini API](https://makersuite.google.com/)
* [Pixabay API](https://pixabay.com/api/docs/)
* [Pexels API](https://www.pexels.com/api/)
* [ElevenLabs API](https://www.elevenlabs.io/)

---

## ๐Ÿš€ Setup Instructions

### 1. Clone the Repository

```bash
git clone https://github.com/Jerryblessed/slideshowai.git
cd ai-slideshow-creator
```

### 2. (Optional) Create and Activate Virtual Environment

```bash
python -m venv venv
# Windows:
venv\Scripts\activate
# macOS/Linux:
source venv/bin/activate
```

### 3. Install Dependencies

```bash
pip install -r requirements.txt
```

### 4. Add Your API Keys

You can either:

* Create a `.env` file in the root directory, or
* Set the variables in your terminal environment:

```bash
export GEMINI_API_KEY="your_gemini_api_key"
export PIXABAY_API_KEY="your_pixabay_api_key"
export PEXELS_API_KEY="your_pexels_api_key"
export ELEVENLABS_API_KEY="your_elevenlabs_api_key"
```

For Windows CMD:

```cmd
set GEMINI_API_KEY=your_gemini_api_key
set PIXABAY_API_KEY=your_pixabay_api_key
set PEXELS_API_KEY=your_pexels_api_key
set ELEVENLABS_API_KEY=your_elevenlabs_api_key
```

### 5. Run the Flask App

```bash
python app.py
```

Then open your browser and visit:

```text
http://127.0.0.1:5000
```

---

## ๐Ÿ“ Output

* Each prompt generates a **.zip file** containing:

* HTML slideshow
* Slide-by-slide AI voice narration
* Embedded images and video links

---

## ๐Ÿ’ก Deployment Tip

If deploying on a cloud platform (e.g. Render, Heroku), configure the API keys via environment variable settings in the dashboard.

To keep local development secure and clean, use `.env` + [python-dotenv](https://pypi.org/project/python-dotenv/).

---

๐Ÿ“š For full context and slides, view the
๐ŸŽž๏ธ **[Official Pitch Deck here ยป](https://docs.google.com/presentation/d/1la6VuclIqyZKOKgzifkMSvo_3OJAu-2QX1-pff0Y2a0/edit?usp=sharing)**

๐ŸŒ **Try it live**: [https://lighteducation.pythonanywhere.com/](https://lighteducation.pythonanywhere.com/)

Happy hacking, presenting, and teaching โ€” anywhere, even offline! ๐Ÿง ๐Ÿ’กโœจ