ai-ppt-generate

The intelligent PPT generation tool is provided by Baidu. It is a tool that intelligently generates PPTS based on the themes or questions given by users. Users can choose PPT themes, templates, or even customize their own templates. It also provides image or resource files (such as pdf,word,txt, etc.). The download address for the final generated PPT file is provided

3,891 stars

Best use case

ai-ppt-generate is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

The intelligent PPT generation tool is provided by Baidu. It is a tool that intelligently generates PPTS based on the themes or questions given by users. Users can choose PPT themes, templates, or even customize their own templates. It also provides image or resource files (such as pdf,word,txt, etc.). The download address for the final generated PPT file is provided

Teams using ai-ppt-generate should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/ai-ppt-generate/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/baiduqianfangroup/ai-ppt-generate/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/ai-ppt-generate/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ai-ppt-generate Compares

Feature / Agentai-ppt-generateStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

The intelligent PPT generation tool is provided by Baidu. It is a tool that intelligently generates PPTS based on the themes or questions given by users. Users can choose PPT themes, templates, or even customize their own templates. It also provides image or resource files (such as pdf,word,txt, etc.). The download address for the final generated PPT file is provided

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# AI PPT Generation

This skill allows OpenClaw agents to generate ppt file, Based solely on the theme provided by the user, if possible, pictures or resource files can be provided, this tool can help generate perfect PPT files.

## Setup

1.  **API Key:** Ensure the BAIDU_API_KEY environment variable is set with your valid API key.
2.  **Environment:** The API key should be available in the runtime environment.

## API table
|    name    |               path              |            description                |
|------------|---------------------------------|---------------------------------------|
|PPTThemeQuery|/v2/tools/ai_ppt/get_ppt_theme|Query the built-in list of PPT themes and templates|
|PPTOutlineGenerate| /v2/tools/ai_ppt/generate_outline   |Generate a PPT outline based on the provided theme, template ID, style ID, etc|
|PPTGenerate| /v2/tools/ai_ppt/generate_ppt_by_outline   |Generate a PPT file url based on the provided ppt outline|


## Workflow

1. The PPTThemeQuery API executes the Python script located at `scripts/ppt_theme_list.py`
2. The PPTOutlineGenerate API executes the Python script located at `scripts/ppt_outline_generate.py`
3. The PPTGenerate API executes the Python script located at `scripts/ppt_generate.py`
4. The first step is for the user to query the PPT style query interface(PPTThemeQuery) to obtain the style ID and template ID
5. The second step is to use the style ID and template ID queried in the first step as parameters for generating the PPT outline and call the PPT outline generation API(PPTOutlineGenerate) to generate the outline (this API is a sse streaming return. This step depends on the first step. If the first step fails, the request can be terminated).
6. The third step is to request the PPT intelligent generation API(PPTGenerate) based on the outline generated in the second step. Eventually, a PPT file is generated (the request parameter outline is returned by the outline generation interface, aggregating the sse streaming return result as the input parameter. Meanwhile, users can edit and modify the outline, but the modified outline must be in markdown format). Otherwise, a failure may occur. This step strictly depends on the second step. If the second step fails, the request can be terminated.

## APIS

### PPTThemeQuery API 

#### Parameters

no parameters

#### Example Usage
```bash
BAIDU_API_KEY=xxx python3 scripts/ppt_theme_list.py
```

### PPTOutlineGenerate API 

#### Parameters

- `query`: ppt title or user query(required)
- `resource_url`: the url of the resource file, such as pdf, word, txt, etc.
- `page_range`: the page range of the ppt file, just include enumerations, 1-10、11-20、21-30、31-40、40+
- `layout`: the layout of the ppt file, optional values: 1,2 (1: Minimalist mode, 2: Professional Mode)
- `language_option`: the language option of the ppt file, optional values: zh, en (zh: Chinese, en: English)
- `gen_mode`: the generation mode of the ppt, optional values: 1,2 (1: Intelligent touch-ups, 2: Creative Mode)


#### Example Usage
```bash
BAIDU_API_KEY=xxx python3 scripts/ppt_outline_generate.py --query "generate a ppt about the future of AI" 
```

### PPTGenerate API 

#### Parameters

- `query_id`: query id from PPTOutlineGenerate API return(required)
- `chat_id`: chat id from PPTOutlineGenerate API return(required)
- `outline`: ppt outline from PPTOutlineGenerate API return,must be in markdown format.Users can make appropriate modifications to the content, adding, modifying or deleting parts of the outline.(required)
- `query`: user orgin query(required)
- `title`: ppt title from PPTOutlineGenerate API return(required)
- `style_id`: ppt stype id from PPTThemeQuery API return(required)
- `tpl_id`: ppt template id from PPTThemeQuery API return(required)
- `resource_url`: the url of the resource file, such as pdf, word, txt, etc.
- `custom_tpl_url`: The path of the user-defined PPT template must be downloadable
- `gen_mode`: the generation mode of the ppt, optional values: 1,2 (1: Intelligent touch-ups, 2: Creative Mode)
- `ai_info`: Information on whether to use AI-generated PPT on the last page of the generated PPT


#### Example Usage
```bash
BAIDU_API_KEY=xxx python3 scripts/ppt_generate.py --query_id "xxx" --chat_id "xxx" ...
```

Related Skills

generate-image

3891
from openclaw/skills

用户请求画图时触发。

keevx-image-generate

3891
from openclaw/skills

Use the Keevx API to generate images from prompts and reference images. Supports standard and professional modes, multiple quality levels (1K/2K/4K), various aspect ratios, and batch generation. Use this skill when the user needs to: (1) Generate images from text prompts (2) Create AI images with reference images (3) Batch image generation (4) Query image generation task status. Keywords: image generate, Keevx, AI image, text to image.

generate-weekly-report

3891
from openclaw/skills

根据 git 提交记录自动生成本周周报,按功能模块归类输出编号列表格式

generate

3891
from openclaw/skills

Generate Playwright tests. Use when user says "write tests", "generate tests", "add tests for", "test this component", "e2e test", "create test for", "test this page", or "test this feature".

generate-tesla-car-wraps

3891
from openclaw/skills

Call Craftsman Agent API OneKey Router to generate Tesla Car Wrap Images and Paints that will display on 3D screen.

generate-minecraft-3D-build-plan

3891
from openclaw/skills

Call Craftsman Agent API OneKey Router to generate a Minecraft 3D scene build plan.

generate-lego-3D-build-plan

3891
from openclaw/skills

Call Craftsman Agent API OneKey Router to generate a LEGO 3D step-by-step instruction build plan.

images_generate_grok

3891
from openclaw/skills

使用 Grok Imagine 生成图片的技能。

---

3891
from openclaw/skills

name: article-factory-wechat

Content & Documentation

humanizer

3891
from openclaw/skills

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.

Content & Documentation

find-skills

3891
from openclaw/skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

General Utilities

tavily-search

3891
from openclaw/skills

Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.

Data & Research