hugohe3/ppt-master
AI generates a real, editable PowerPoint from any document — native shapes & animations, speaker notes voiced as audio narration, and the option to follow your own .pptx template, not slide images · by Hugo He
hugohe3/ppt-master
AI generates a real, editable PowerPoint from any document — native shapes & animations, speaker notes voiced as audio narration, and the option to follow your own .pptx template, not slide images · by Hugo He
PPT Master 是 Hugo He 开源的 AI 演示文稿生成工作流(Skill):在 Claude Code、Cursor、VS Code Copilot 等 Agent IDE 里对话,即可把 PDF、DOCX、图片或粘贴文本转成 原生 DrawingML 形状 的可编辑 .pptx,而非每页一张大图。项目以 Python 脚本负责 SVG 生成、PPTX 导出、图片检索与旁白合成;模型负责内容分析与视觉设计。除 16:9 幻灯片外,还支持小红书、公众号等十余种画布格式。
.pptx 当模板填充或风格参考localhost:5050 浏览器预览,可拖拽改字色字号,或标注后让 AI 重写区域gpt-image-2 达质量上限;亦支持 GPT、Gemini、Kimi 等;可通过 npx skills add 或 Claude 插件市场安装多数 AI 演示工具输出的是「每页一张图」或网页 Deck,进 PowerPoint 后几乎无法改稿。PPT Master 瞄准 可继续打磨的原生 PPTX:把内容分析、版式、配图、动画、导出拆成可复用工作流,让你用对话完成 80% 体力活,再在 Office 里精修。成本仅模型用量,无额外 PPT 订阅;对经常做汇报、路演、培训课件但不想被 SaaS 锁定的职场人,它把「Agent + Python」落到一件具体可交付的事上。
.pptx 而非托管网页;你需要自备 Agent IDE 与模型 API,学习曲线更高,但无平台锁定。gpt-image-2;性价比可试 Gemini 3.5 Flash)方式 A — Git 克隆(完整仓库)
git clone https://github.com/hugohe3/ppt-master.gitcd ppt-masterpip install -r requirements.txt方式 B — 技能市场(仅 Skill 文件,仍需 pip 安装脚本依赖)
npx skills add hugohe3/ppt-master# 在安装目录执行:pip install -r requirements.txtClaude Code 内也可:
/plugin marketplace add hugohe3/ppt-master/plugin install ppt-master@ppt-master方式 C — 下载 ZIP:在 GitHub 页面 Code → Download ZIP,解压后同样执行 pip install -r requirements.txt。
旧版 .doc / .odt 等格式需额外安装 Pandoc;.docx / .html / .epub 等由 Python 原生处理。
projects/ 目录(或准备在聊天中直接粘贴文本)。请根据 projects/q3-report/sources/report.pdf 做一份 PPThttp://localhost:5050 查看实时预览并做可视化微调。exports/<name>_<timestamp>.pptx;svg_output/ 会备份到 backup/<timestamp>/ 便于重导出。若需配图 API,可复制环境变量:
cp .env.example .env# 或技能安装场景:mkdir -p ~/.ppt-master && cp .env.example ~/.ppt-master/.envexports/ 下最新 .pptx,确认元素可单独选中编辑(非整页图片)。examples/ 目录,对比版式与动画是否符合预期。python3 skills/ppt-master/scripts/image_gen.py --list-backends 检查图像后端是否配置正确(若使用 AI 生图)。harness + model = agent;结果不满意先换更强模型,而非归咎于工具。skills/ppt-master/SKILL.md;复杂问题查 FAQ。/create-template 流程,否则 AI 默认自由设计。pip install -r requirements.txt,否则后处理脚本无法运行。