NanoBanana PPT Skills

A Claude Code skill that turns a document into image slides via Gemini and builds a video with Kling AI transitions

SkillMedium risk

op7418/nanobanana-ppt-skills

Install

mkdir -p ~/.claude/skills/ppt-generator
git clone https://github.com/op7418/NanoBanana-PPT-Skills.git ~/.claude/skills/ppt-generator
pip install google-genai pillow python-dotenv

Then create .env from .env.example with GEMINI_API_KEY. Video needs FFmpeg and Kling AI keys.

This is third-party code. Review the repository files before installing.

What it does

The skill analyzes a source document, extracts key points and plans the deck structure. Each slide is generated as a 16:9 image by Google's Nano Banana Pro in one of two styles: gradient glass cards or vector illustration. With Kling AI keys it also creates transition videos between slides and a looping cover. The result plays in an interactive player or is merged into one video with FFmpeg.

Who it is for. For presenters, marketers and teachers who want striking slides from existing text.

Good fit when

  • You need a visual deck from an article or report fast
  • You need a video presentation with animated transitions
  • You want slides in one consistent art style

Not a fit when

  • You need an editable PowerPoint file with real text
  • You have no access to the Google Gemini API

Example request

Make an 8-slide deck from this report in the vector illustration style

Limitations

GEMINI_API_KEY is required, and the Gemini API is not reachable from Russia without a VPN. Video needs paid Kling AI keys and FFmpeg. Slides are images, so text on them is not editable. The docs and SKILL.md are in Chinese.

How to disable. Delete the ~/.claude/skills/ppt-generator folder.

Security check

  • Runs Python scripts and sends document text to Google and Kling APIs
  • Uses paid API keys

README in short

The Chinese README covers document analysis, slide generation with Nano Banana Pro, Kling AI transitions, the interactive player and video export. Installation can be delegated to Claude Code with a ready prompt or done manually: clone, virtualenv, dependencies and a .env file. A separate section explains installing it as a skill in ~/.claude/skills. Architecture notes and an FAQ are included.

SKILL.md

# PPT Generator Pro - Claude Code Skill

## 📋 元数据

- **Skill 名称**: ppt-generator-pro
- **版本**: 2.0.0
- **描述**: 基于 AI 自动生成高质量 PPT 图片和视频,支持智能转场和交互式播放
- **作者**: 歸藏
- **标签**: ppt, presentation, video, ai, nano-banana, kling-ai, image-generation

## ✨ 功能特性

### 核心功能
- 🤖 **智能文档分析** - 自动提取核心要点,规划 PPT 内容结构
- 🎨 **多风格支持** - 内置渐变毛玻璃、矢量插画两种专业风格
- 🖼️ **高质量图片** - 使用 Nano Banana Pro 生成 16:9 高清 PPT
- 🎬 **AI 转场视频** - 可灵 AI 生成流畅的页面过渡动画
- 🎮 **交互式播放器** - 视频+图片混合播放,支持键盘导航
- 🎥 **完整视频导出** - FFmpeg 合成包含所有转场的完整 PPT 视频

### 新功能 (v2.0)
- 🔄 **首页循环预览** - 自动生成吸引眼球的循环动画
- 🎞️ **智能转场** - 自动生成页面间的过渡视频
- 🔧 **参数统一** - 自动统一所有视频分辨率和帧率

## 📦 系统要求

### 环境变量

**必需:**
- `GEMINI_API_KEY`: Google AI API 密钥(用于生成 PPT 图片)

**可选(用于视频功能):**
- `KLING_ACCESS_KEY`: 可灵 AI Access Key
- `KLING_SECRET_KEY`: 可灵 AI Secret Key

FAQ

Can I skip Kling AI?

Yes, Kling keys are only for transition videos; slide images need just a Gemini key.

What resolution are the slides?

16:9, in 2K or 4K.

Editors’ pick

Skills and CLI from HeyGen: the agent writes HTML compositions and renders them into MP4 videos, captions, motion graphics and decks

SkillMedium risk50K

Blender MCP

MCP for Blender

Editors’ pick

An MCP server and Blender addon: the agent creates and edits objects, materials and scenes, pulls assets and runs Python in Blender

MCP serverHigh risk28.6K
Editors’ pick

Official Remotion skills for making videos in React: compositions, animation, captions, maps and rendering

SkillLow risk4.6K

Agentic video studio for Claude Code, Cursor and Codex: script, voiceover, images, stock footage, music, subtitles and render

WorkflowMedium risk59.1K