# Banana Slides

> Self-hostable web app that generates and edits slide decks by chat

- Category: AI Productivity & Writing / Slides & Deck Generation
- Language: TypeScript
- Licence: AGPL-3.0
- Repository: https://github.com/Anionex/banana-slides
- Website: https://bananaslides.online
- Canonical page: https://ai-tldr.dev/tools/banana-slides/

## In short

Banana Slides is an open-source web application for producing presentations end to end. It sits in the Slides & Deck Generation category of the AI Productivity & Writing tools and is open-source, written in TypeScript and licensed AGPL-3.0. To get started: clone and configure.

## Overview

Banana Slides is an open-source web application for producing presentations end to end. You start from a one-line idea, a written outline, a per-page description, or uploaded material, and it drafts a full deck; from there you refine individual pages conversationally — asking it to turn a block into a pie chart or restyle a region — rather than dragging boxes around.

It is built around image-generation models (the project is described as an AI-native slides generator based on Nano Banana Pro) and is provider-configurable: the AI_PROVIDER_FORMAT setting selects between Gemini, OpenAI, Volcengine, Vertex and LazyLLM backends. Uploaded PDF, DOCX, Markdown and text files are parsed automatically into slide material, and an arbitrary template image can be supplied to match an existing visual style, either per page or across the whole deck.

Unlike hosted deck generators it ships as a self-contained stack — a Python backend and a TypeScript frontend, with a Docker Compose file for production — so it can run entirely on your own infrastructure. Exports cover PPTX (optionally with editable elements rather than flattened images), PDF, and explainer videos with AI voiceover and subtitles.

## What it does

- Generates a deck from an idea, an outline, per-page descriptions, or uploaded PDF / DOCX / Markdown / text material
- Conversational per-region editing — describe the change instead of manually editing shapes
- Template matching from any uploaded image, applied per page or unified across the deck
- Exports to PPTX (with an editable-elements mode), PDF, and narrated MP4 video with subtitles
- Pluggable model backends via AI_PROVIDER_FORMAT: Gemini, OpenAI, Volcengine, Vertex or LazyLLM
- Self-hosted: Docker Compose stack, or run the Python backend and TypeScript frontend from source

## Getting started

Docker Compose is the recommended path. You will need a model API key — the default configuration expects a Google Gemini key in GOOGLE_API_KEY.

1. Clone and configure

   Copy the example env file and fill in your model credentials. GOOGLE_API_KEY and AI_PROVIDER_FORMAT are the two that matter for a default setup; .env.example documents the rest.

```bash
git clone https://github.com/Anionex/banana-slides
cd banana-slides
cp .env.example .env
```

2. Start the stack with Docker Compose

   The production compose file brings up the frontend on port 3011 and the API on port 5011.

```bash
docker compose -f docker-compose.prod.yml up -d
```

3. Or run from source

   The backend uses uv and Alembic migrations; the frontend is a standard npm dev server.

```bash
# backend
cd backend
uv sync
uv run alembic upgrade head && uv run python app.py

# frontend, in a second terminal
cd frontend
npm install
npm run dev
```

4. Open the app and generate a deck

   Visit http://localhost:3011, then describe your topic, paste an outline, or upload source material. Refine pages by describing the change, and export to PPTX, PDF or video when you are happy.

## When to use it

- Self-host a slide generator so decks and their source documents never leave your own infrastructure
- Match an existing corporate deck style by uploading one template image instead of rebuilding a theme
- Produce a narrated explainer video and a PPTX from the same source material in one pass
- Iterate on a specific slide region conversationally rather than editing shapes by hand
