跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/JuneYaooo/gpt-image2-ppt-skills/gpt-image2-ppt

GPT Image 2 to PowerPoint Skill for Claude Code and Codex

Turn a Markdown slide outline into slide PNGs and a 16:9 PowerPoint deck. Choose a bundled visual style or use a template you have permission to use. An optional editable workflow rebuilds text and simple shapes as PowerPoint objects.

中文

Install in Claude Code、Codex、OpenClaw

Use the complete skill folder with its Python requirements. Python 3.10 or newer in a virtual environment is recommended. Direct generation requires access to the OpenAI Images API. A Codex session with native image generation can create the slide images before local packaging. Template rendering and editable deck review need a compatible PowerPoint, Keynote, or LibreOffice installation.

  1. Download the whole repository at the pinned GitHub commit. Keep SKILL.md, scripts/, styles/, docs/, and requirements.txt together.
  2. For project installation, put the complete folder in .claude/skills/gpt-image2-ppt/ for Claude Code or .agents/skills/gpt-image2-ppt/ for Codex. Keep SKILL.md at the top of that folder.
  3. In the skill folder, create and activate a virtual environment with python -m venv .venv, then run python -m pip install -r requirements.txt. Point the agent at that environment.
  4. For the direct API route, expose OPENAI_API_KEY through your local environment or secret manager. The pinned skill defaults to gpt-image-2. Set GPT_IMAGE_MODEL_NAME to a compatible model your project can use if you need to change it. Open a fresh agent session.

Example task

Create demo-plan.md at the skill root using this fictional book club. The pinned generator asks for Simplified Chinese slide text, so the sample slide copy below is in Chinese.

---
title: 周末读书会
---

## 1. [cover] 周末读书会
三人围读,约定下次共读主题。

## 2. [content] 讨论安排
每人分享一句喜欢的摘录,再投票选下一本书。

Parse the plan locally first. This command makes no image request.

python scripts/md_to_plan.py demo-plan.md -o demo-plan.json

Once you have checked both slides and configured the Images API, request a cover preview.

python scripts/generate_ppt.py --plan demo-plan.json --style styles/gradient-glass.md --slides 1 --output demo-preview

What to check

The JSON should contain total_slides of 2 and page types cover and content. A successful cover preview writes demo-preview/images/slide-01.png. To create a two-slide PPTX, omit --slides 1 and use a fresh --output directory. Check both slides in PowerPoint for order, proportions, and text legibility.

Original SKILL.md on GitHub · Updated 2026-11-15

Frequently asked question

Can I change individual text boxes in the exported PPTX?

The default export places each finished slide into PowerPoint as a PNG. The optional editable workflow can reconstruct selected text, simple shapes, and connectors as native objects. Complex visuals may still be images. Open the exported deck to check which items can be selected and edited.

Browse Claude Code skills in the Chinese directoryBrowse Codex skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯