ppt-master README

项目的 README,来自 github.com/hugohe3/ppt-master。合并为一个 markdown 文件:README.md。

PPT Master

PPT Master — AI generates native PowerPoint from any document

Version License: MIT GitHub stars AtomGit stars The Agentic Leaderboard

hugohe3%2Fppt-master | Trendshift Star History Rank

English | 中文

💼 I'm open to new opportunities. Investment background (CPA · CPV · Consulting Engineer), also building AI tools and open source. Happy to talk about any opportunity: [email protected] · hehugo.com.

🆕 I built a construction project economic evaluation site: cs.hehugo.com (in Chinese) — the wind, solar and storage templates are now open to everyone; just register and use them (a comparable module in one commercial package sells for ¥100,000).

❤️ Sponsors

This project is kept free and open source with the support of Kimi, PackyCode, APIKEY.FAN, RunAPI, ModelGo and other sponsors.

Want to appear here?

Click to collapse

Kimi

Thanks to Kimi for sponsoring this project! Kimi K3 is the world's first open 3T-class model, featuring native vision and a 1-million-token context window. With PPT Master, K3 can understand source materials such as PDFs, DOCX files, and web pages, identify key points, structure the narrative, and generate a natively editable PPTX that you can continue refining in PowerPoint.

Try a Kimi Code plan (中文站 | Global), or access the API through the Kimi Open Platform (中文站 | Global).


PackyCode Thanks to PackyCode for sponsoring this project! PackyCode is a reliable and efficient API relay service provider, offering relay services for Claude Code, Codex, Gemini, and more. PackyCode provides special discounts for our project users: register using this link and enter the promo code ppt-master during recharge to get 10% off.
APIKEY.FAN Thanks to APIKEY.FAN for sponsoring this project! APIKEY.FAN is a professional enterprise-grade AI relay service committed to stable, efficient, and low-cost AI access for businesses and developers. The platform supports mainstream models including Claude, OpenAI, and Gemini, with prices as low as 7% of official rates. Register through our dedicated link for an exclusive perk: up to 5% off on top-ups, permanently.
RunAPI Thanks to RunAPI for sponsoring this project! RunAPI is an efficient and stable API platform — a single API Key gives you access to 150+ leading models, including OpenAI, Claude, Gemini, DeepSeek, and Grok, at prices as low as 10% of official rates, with exceptional stability and seamless compatibility with tools like Claude Code. RunAPI offers an exclusive perk for PPT Master users: register and contact an administrator via our dedicated link to claim ¥7 in free credit.
ModelGo Thanks to ModelGo for sponsoring this project! ModelGo is a stable, efficient enterprise-grade AI API aggregation platform. A single API Key gives you access to leading AI models including Claude, OpenAI, Gemini, and DeepSeek, helping developers and businesses build AI applications quickly at lower cost. ModelGo offers an exclusive perk for PPT Master users: get $0.5 in trial credit on sign-up, another $2 after your first API call, and an extra $1 for inviting new users! The platform also offers a tiered spending rebate: the more you use, the more you get back, so you can enjoy AI model calls to the fullest. In addition, ModelGo supports enterprise-grade features such as SLA service guarantees and visual monitoring dashboards, keeping API calls stable and reliable for production deployments. Visit the ModelGo website to sign up and start building AI efficiently!

Editable is already table stakes — what sets PPT Master apart is native depth. It delivers a real PowerPoint: slide masters, native shapes, and data-backed charts and tables — neither flat text boxes nor a filled-in template. It structures your argument first and designs page by page second, while continuously converging with PowerPoint itself as new native capabilities land each release. In form, it's a local workflow that runs inside any agent-capable AI tool: hand the AI your topic or source files and get a .pptx generated on your machine — local data, no platform or model lock-in. How it works and where the limits are → Product Positioning.

Quick Start · Live Demo · Examples · FAQ · Roadmap

Pixel art — Chinese breakfast atlas
Pixel Art — Chinese breakfast atlas: AI sprite sheets, HUD panels, Morph and 8-bit sound cues
Technical blueprint — Attention Is All You Need
Technical Blueprint — Transformer paper walkthrough: diagrams, native formulas, notes and animations
Brand template — China Telecom 2025 results
Brand Template — China Telecom 2025 results on the company's own deck template, with a native-chart export

Every example is a single pass with no manual polish; downloading a .pptx and opening it in PowerPoint is the fastest way to see what it can really do.
Flip through all examples online → · Source repository · Why PPT Master?


Product Positioning

Native depth means how much of PowerPoint's real object model you actually get. Native shapes and connectors with live adjustment handles, data-backed charts and tables on demand, and the full text, picture, fill, and effect system — click any element and edit it as a first-class PowerPoint object. Through the template or structured route, it also produces decks with real slide masters and layouts (p:sldMaster / p:sldLayout inheritance).

That depth is a direction of travel, not a static checklist. PPT Master's north star is steady convergence with PowerPoint itself — integrating more native capabilities release after release to narrow the gap between what AI generates and what you would build by hand. The PowerPoint ↔ SVG Mapping Guide documents exact coverage feature by feature — SmartArt is a deliberate omission, not a gap.

In practice, it runs as a workflow ("skill") inside any agent-capable AI tool: ask in chat — "make a deck from this PDF" — and it handles analysis, design, and export locally into a natively editable .pptx. No coding required; you do three things — install Python, open an AI tool, drop in your material.

Generating a new deck from source documents is the main pipeline, but not the only route: PPT Master can also distill reusable brand, style, layout, or deck templates from your references, fill an existing .pptx with new content while preserving its design, or add native transitions, animations, and narration to a finished deck — each route with an explicit preservation contract. How to use each capability → Getting Started.

On top of that native depth, this form comes with three promises:

Why you'd choose it, and where it isn't the right fit → Why PPT Master; the long-term capability boundaries behind these promises → Project Positioning.

[!IMPORTANT]

This is a tool, not a wishing well

harness + model = agent — PPT Master only owns the workflow; the model sets the ceiling. Recommended: Kimi K3.1 (or Gemini) with a large context window (~1M tokens) + AI image generation (gpt-image-2.6-sunburst or Google gemini-nano-banana-2.1); other models can run the pipeline, with a quality gap.

And don't expect a finished, perfect deck in one shot. The tool's value is taking most of the tedious work off your plate; the polishing that's left is yours — a natively editable deck exists precisely so you can keep working on it, not a flat image you can't touch. A cheap model won't match the recommended setup — that gap is the model's, not a PPT Master bug. The cheaper the model, the more there is to do; if results disappoint, upgrade the model first, then check your usage against Getting Started and the example projects.

High token use is this solution's trade-off, not a defect: the tool itself is free and open source, but model token costs are yours to cover, and this solution spends more tokens to deliver page-by-page design and native editability. Wanting excellent results without putting anything in is wishing, and that isn't achievable today; if this trade-off doesn't suit you, tools built on other approaches, or making the slides by hand, are perfectly good choices.


Built by Hugo He

I'm a finance professional (CPA · CPV · Consulting Engineer (Investment)) who regularly reviews and edits presentation decks. I wanted AI-generated slides to remain editable in PowerPoint, not flattened into images — so I built this.

Knowing how to use Python and AI agents will matter more and more, and this project is also meant to show how far you can go with just those two things. There's a learning curve if you're starting cold, but it's the curve worth climbing — making a deck is just the excuse; what I'm really pushing is Python and agents.


You Might Also Like

ResearchStudio-Reel

A Microsoft open-source project I recently joined — from paper to talk video, poster, and blog, automating the last mile of research dissemination.

📦 Repo: microsoft/ResearchStudio · 📄 Paper: arXiv:2607.04438

ResearchStudio-Reel demo ResearchStudio-Reel generated poster
BibTeX — if you use ResearchStudio-Reel in your research
@article{xiao2026researchstudioreel,
  title   = {ResearchStudio-Reel: Automate the Last Mile of Research from Paper to Poster, Video, and Blog},
  author  = {Lingao Xiao and Yalun Dai and Yangyu Huang and Qihao Zhao and Wenshan Wu and Hugo He and Ruishuo Chen and Jin Jiang and Qianli Ma and Jiahuan Zhang and Xin Zhang and Ying Xin and Yang Ou and Yan Xia and Scarlett Li and Longbo Huang and Zhipeng Zhang and Yang He and Yap Kim Hui and Yan Lu},
  journal = {arXiv preprint arXiv:2607.04438},
  year    = {2026},
  url     = {https://arxiv.org/abs/2607.04438}
}

Quick Start

1. Prerequisites

All you need to install is Python 3.10–3.14. Everything else comes with one line — pip install -r requirements.txt — after you download the project in Step 3.

Windows — see the dedicated step-by-step guide ⚠️

Windows requires a few extra steps (PATH setup, execution policy, etc.). We wrote a step-by-step guide specifically for Windows users:

📖 Windows Installation Guide — from zero to a working presentation in 10 minutes.

Quick version: download standard 64-bit (x64) Python 3.10–3.14 from python.org (on Windows 11 on ARM, still use x64 or a dedicated x64 venv — see the guide above) → check "Add to PATH" during install → done; dependencies are installed in Step 3.

macOS / Linux — install and go
# macOS
brew install python

# Ubuntu / Debian
sudo apt install python3 python3-pip
Edge-case fallback — 99% of users don't need this

Pandoc — only needed for legacy document formats: .doc, .odt, .rtf, .tex, .rst, .org, or .typ. .docx, .html, .epub, .ipynb are handled natively by Python — no pandoc required.

# macOS
brew install pandoc

# Ubuntu / Debian
sudo apt install pandoc

2. Pick an Agent

PPT Master runs in any tool with agent capability — read/write files, execute commands, and sustain multi-turn conversation.

Never used one of these? Don't worry — in this project they play exactly one role: an AI chat window that can read and write files. Pick any tool from the table, install it, and you'll only ever use its chat panel. No coding involved.

Author's pick: Claude Code — the environment this project is developed and tested on most thoroughly, as the CLI or the VS Code / JetBrains extension.

Type Examples Notes
IDE-native agent • VS Code architecture (VS Code itself, plus forks & derivatives): Cursor, Antigravity, Trae, Codebuddy IDE, Windsurf, etc.
• Other architectures: Zed, etc.
Editor with a built-in agent
IDE plugin / extension Claude Code (VS Code / JetBrains extension), GitHub Copilot, Cline, etc. Installed inside hosts like VS Code or JetBrains
CLI agent Claude Code CLI, Codex CLI, Gemini CLI, etc. Runs in the terminal; suits scripting, remote, or server use

Model recommendation: for the best results, use Kimi K3.1 (or Gemini) to drive the pipeline, paired with AI image generation — gpt-image-2.6-sunburst (OpenAI) or gemini-nano-banana-2.1 (Google). Kimi Code, the project sponsor, is a great pick for pay-as-you-go access.

🔑 Want to use Gemini / GPT / Claude but don't have access yet? Project sponsors PackyCode, APIKEY.FAN, RunAPI and ModelGo offer pay-as-you-go access to Gemini, GPT, Claude and more — no subscription required, with exclusive discounts for our users (details at the top of this page).

🔀 Juggling several providers? Once you hold keys from more than one of them, cc-switch — a cross-platform desktop app — lets you one-click switch API providers for Claude Code, Codex, Gemini CLI and more, no manual config editing.

3. Set Up

Option A — Git clone (recommended; requires Git installed): the preferred path, since a clone can pull the latest version at any time.

git clone https://github.com/hugohe3/ppt-master.git
cd ppt-master

Then install dependencies:

pip install -r requirements.txt

Option B — Download ZIP (no Git required; best for a quick trial): click Code → Download ZIP on the GitHub page, then unzip, and install dependencies with pip install -r requirements.txt. A ZIP has no Git history, so it can't git pull — see Updating Later. If that download is too large or fails, grab the skill-only package ppt-master-skill-*.zip (~23 MB, fully functional skill files only) from the Releases page instead. For a manual single-directory install into an agent's skills/ folder, copy the inner ppt-master/skills/ppt-master/ directory (not the outer archive root) — see Getting Started.

Updating Later

Git clone installs:

python3 skills/ppt-master/scripts/update_repo.py

The script pulls the latest version and syncs Python dependencies when requirements.txt changes.

Download ZIP installs:

ZIP folders do not include Git history, so they cannot run git pull. To update, download the latest ZIP, unzip it into a new folder, copy your old .env, projects/, and skills/ppt-master/templates/local/ (if present) into the same locations in the new folder, then run:

pip install -r requirements.txt

Option C — Skill marketplace: the repo ships .claude-plugin/marketplace.json, so it can be installed through the Claude Code plugin marketplace ecosystem:

# Cross-agent CLI (Claude Code, Cursor, Codex, etc.)
npx skills add hugohe3/ppt-master

# Or inside Claude Code
/plugin marketplace add hugohe3/ppt-master
/plugin install ppt-master@ppt-master

Both install paths above only fetch the skill files (not the full repo); you still need to pip install -r requirements.txt from the installed location for the post-processing scripts to run.

4. Create

First, open the project folder in your agent: the goal is to point the AI at the ppt-master directory you unzipped / cloned in the previous step. In an IDE-type tool, use File → Open Folder — the AI chat panel is usually in the sidebar; in a CLI agent, cd ppt-master first, then launch it. Everything from here on happens in the chat.

Provide source materials (recommended): Place your PDF, DOCX, images, or other files in the projects/ directory, then tell the AI chat panel which files to use. The quickest way to get the path: right-click the file in your file manager or IDE sidebar → Copy Path (or Copy Relative Path) and paste it directly into the chat.

You: Please create a PPT from projects/q3-report/sources/report.pdf

Paste content directly: You can also paste text content straight into the chat window and the AI will generate a PPT from it.

You: Please turn the following into a PPT: [paste your content here...]

By default—unless you explicitly request quick generation—the AI first confirms the design spec:

AI:  Sure. Let's confirm the design spec:
     [Template] B) Free design
     [Format]   PPT 16:9
     [Pages]    8-10 pages
     ...

The AI handles everything — content analysis, visual design, SVG generation, and PPTX export.

Quick generation (skip the confirmation round trip): say so explicitly and the AI goes straight to authoring and export.

You: Quickly generate a 5-page deck from projects/q3-report/sources/report.pdf — no need to confirm with me

Whatever you state explicitly is followed; whatever you leave unspecified the agent decides on its own instead of asking. It still converts sources, fills factual gaps, applies the shared visual baseline, and uses images/icons/native shapes/charts/tables/PowerPoint-native inline or block formulas as needed — it drops interaction and durable planning, not presentation capability. It is one-pass and non-resumable, and there is no svg_final/ preview. Full guide → Quick mode.

Output: the deck lands in exports/<name>_<timestamp>.pptx as natively editable DrawingML; the default flow also writes self-contained page previews to svg_final/. Charts and tables ship as editable shapes by default; pass --native-charts-and-tables for data-backed PowerPoint Chart / Table objects with Edit Data, saved as a separate _native_charts_tables.pptx. Formulas compile to editable OMML for PowerPoint 2010+. Backups, notes, animation and narration switches, and the non-PowerPoint boundaries → FAQ.

Already have a .pptx you want to reuse? Give the AI the deck and material and ask it to "fill this deck with the new content" — Edit Native PPTX keeps the design and unchanged pages byte-for-byte, edits chosen pages, supports selection/reordering, and can add notes or narration. See the FAQ and workflow.

Something went wrong? If the AI loses context, ask it to read skills/ppt-master/SKILL.md; for everything else, check the FAQ — it covers model selection, layout issues, export problems, and more. Continuously updated from real user reports.

5. Image Acquisition (Optional)

Two paths for non-user images, mixable per image in the same deck:

A) AI generation — use the agent host's native image tool when available, or image_gen.py with IMAGE_BACKEND plus the provider's *_API_KEY. Host-native generation needs no separate provider image API key; ask the agent to use its own image tool. Run python3 skills/ppt-master/scripts/image_gen.py --list-backends for the configured-provider path. gpt-image-2.6-sunburst is the current OpenAI default.

B) Web image search — image_search.py. Zero-config works; configure PEXELS_API_KEY / PIXABAY_API_KEY (both free) for consistently higher-quality results:

The API keys above all live in .env. Clone installs can use cp .env.example .env; skill marketplace installs should use a persistent user config:

mkdir -p ~/.ppt-master
cp /path/to/installed/ppt-master/.env.example ~/.ppt-master/.env

PPT Master reads the current process environment first, then the first .env found in this order: current working directory, skill directory (e.g. ~/.agents/skills/ppt-master/.env), clone repo root, ~/.ppt-master/.env.

Full reference: image-generator.md (AI) · image-searcher.md (web).


Documentation

Document Description
📘 Getting Started First deck in 3 steps, plus how to use templates, live preview, animations, narration, voice cloning (new users start here)
🆚 Why PPT Master Why choose it, and where it's not the right fit
🧭 Project Positioning Long-term positioning, product promises, and capability boundaries
🪟 Windows Installation Step-by-step setup guide for Windows users
📖 SKILL.md Core workflow and rules
📐 Canvas Formats PPT 16:9, Xiaohongshu, WeChat, and 10+ formats
🛠️ Scripts & Tools All scripts and commands
💼 Examples All example projects
🏗️ Technical Design Architecture, design philosophy, why SVG
❓ FAQ Model selection, cost, layout troubleshooting, custom templates

Full documentation index → docs/


Contributing

See CONTRIBUTING.md for how to get involved.

License

MIT

Acknowledgments

SVG Repo · Tabler Icons · Simple Icons · Phosphor Icons · Robin Williams (CRAP principles)

See third-party icon notices for pinned versions, licenses, attribution, compatibility overlays, and trademark boundaries.

The optional PDF converter depends on PyMuPDF, which is licensed under AGPL-3.0 rather than MIT; it is only needed for PDF sources. See conversion.md before redistributing a bundle that includes it.

cc-switch — one-click switching of API providers across Claude Code / Codex / Gemini CLI and more.

Contact & Collaboration

Looking to collaborate, integrate PPT Master into your workflow, or just have questions?


Star History

Star History Chart

Sponsors & Support

PPT Master is currently built and maintained primarily by me. Every new template, bug fix, and documentation update takes ongoing resources — currently shared by the sponsors and individual supporters below.

Corporate sponsors

Kimi   PackyCode   APIKEY.FAN   RunAPI   ModelGo   Powered by DigitalOcean

Want to appear here? → — placements, audience and rates.

Individual support

If PPT Master has been helpful to you, individual support of any amount helps keep the project moving and free.

Sponsor via PayPal

Alipay QR Code

Made with ❤️ by Hugo He — if this project helps you, please give it a ⭐ and consider sponsoring.

Official distribution: GitHub (primary) · AtomGit (mirror). Redistributions on other platforms are unofficial. MIT licensed — attribution required.

⬆ Back to Top

ppt-master (hugohe3/ppt-master)

正在搜索数据库…

这是什么?PPT Master 是一种 AI 工作流,可以把文档或一个主题变成真正可原生编辑的 PowerPoint 演示文稿,包括原生形状、切换效果、动画、基于数据的图表和表格、根据演讲者备注生成的语音解说,并支持你自己的 .pptx 模板。
这是独立的应用,还是在我的编程助手里运行?它不是独立的应用,而是一种可以在任何支持智能体的 AI 工具中运行的工作流(即 skill)。你只需要和 AI 助手聊天,比如说“用这个 PDF 做一份演示文稿”,它就会在你的电脑上生成并导出 .pptx 文件。
我要怎么把它跑起来?安装 Python 3.10+,选择一款支持智能体的 AI 工具(比如 Claude Code、Codex CLI 或 Cursor),然后 git clone 该仓库(或下载 ZIP 压缩包),再运行 pip install -r requirements.txt。
它支持哪些 AI 工具和模型?任何支持智能体的工具都可以用,比如 Claude Code、Codex CLI、Gemini CLI、Cursor、Windsurf、Zed 等。为获得最佳效果,作者推荐使用 Kimi K3,或上下文窗口较大(约 1M token)的 Claude,并搭配图像生成模型,如 gpt-image-2 或 gemini-3.1-flash-image。
一次生成就能得到完整、精致的演示文稿吗?不能。作者明确表示,不要指望一次就得到完美的演示文稿。它能免去大部分繁琐的工作,但结果仍需要你自己润色;越便宜的模型,留给你修改的工作就越多。
我生成演示文稿时,文档数据会去哪里?除了与你所选 AI 模型之间的必要通信外,整个流程都在你自己的电脑上本地运行,你的源文件和生成的演示文稿都保留在本地。
它免费吗?MIT 许可证对费用意味着什么?PPT Master 本身采用 MIT 许可证,可免费使用;唯一的持续性开销是你所选 AI 模型的 API 调用费用,而不是 PPT 的订阅费。
生成的 PowerPoint 和普通 AI 幻灯片生成器有什么不同?它提供的是 PowerPoint 真正的原生对象模型:带有可正常使用调整手柄的形状和连接线、基于数据的图表和表格,以及(通过模板)真正的幻灯片母版和版式。每个元素都可以在 PowerPoint 中点选和编辑,而不是扁平的图片或文本框。
能套用我自己的品牌 PowerPoint 模板吗?可以。它可以从你的参考文件中提炼出可复用的品牌、风格、版式或演示文稿模板,也可以在保留原有设计的前提下,向现有的 .pptx 文件中填入新内容。
作者为什么不用网页版 AI 幻灯片生成器,而要自己做这个?Hugo He 是一位经常审阅演示文稿的金融从业者,他希望 AI 生成的幻灯片能保持可在 PowerPoint 中编辑,而不是被压平成图片,因此他开发了这款工具,可输出原生、可再编辑的 .pptx 文件。
作者
hugohe3
大小
138.2 MB
星标
82.6K
时长
11个月
提交 · 90 天