ai-ppt-generator

Generates PPT slides from a topic using Baidu AI APIs and templates.

2|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/papachong/RHClaw --skill ai-ppt-generator-papachong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-ppt-generator
Source: https://github.com/papachong/RHClaw/tree/main/RHClaw-Desktop/src-tauri/skills/ai-ppt-generator
Command: npx skills add https://github.com/papachong/RHClaw --skill ai-ppt-generator-papachong

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

Automates the time-consuming process of outlining, styling, and exporting presentation slides by using Baidu AI to generate outlines and select appropriate templates based on topic content.

Core Features & Use Cases

  • Smart template selection: Analyzes user topic to suggest categories like 企业商务, 未来科技, 卡通手绘, 文艺清新, 中国风, 年终总结, and 创意趣味.
  • Template discovery and explicit selection: Lists available templates with tpl_id and style_id for manual choice or uses an automatic selection fallback.
  • Streaming generation and export: Produces outline events and streams PPT export results, requiring monitoring for an is_end flag and supporting long timeouts for multi-minute generation.
  • Use Case: Create a corporate annual report, a classroom lesson deck, or a tech product briefing by providing a topic and optionally selecting a visual template.

Quick Start

Generate a 10-slide corporate presentation on "Q4 sales performance and strategy" using automatic template selection.

Frequently Asked Questions about ai-ppt-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a PPT presentation from a topic automatically?

You can generate a PPT presentation by providing a topic to the Baidu AI API, which creates the outline, selects a template, and streams the export. The tool analyzes your topic to suggest styles like corporate business, future tech, or creative cartoon.

Do I need a Baidu API key to create AI-generated slides?

Yes, you need a BAIDU_API_KEY for authorization to access Baidu AI PPT APIs. The generation process requires this key to discover template IDs, stream outline events, and export the final presentation.

Can I manually select a template when generating a presentation?

Yes, you can manually select a template by listing available options with their tpl_id and style_id. Alternatively, you can use the automatic selection fallback to let the system map the appropriate style based on your topic content.

What is the best way to automate corporate annual report slides?

Automating corporate annual report slides is best handled by streaming generation with long timeouts. The system processes the topic, applies business templates, and monitors an is_end flag to complete the multi-minute generation.

Why does streaming PPT export require a long timeout?

Streaming PPT export requires a long timeout because generating a full presentation takes multiple minutes. You must monitor the generation events for an is_end flag to ensure the streaming process completes before the connection drops.

Does this presentation generator work for classroom lesson decks?

Yes, the presentation generator works for classroom lesson decks by analyzing the educational topic and applying relevant templates like educational courseware or creative cartoon. It creates the outline and slides automatically using Baidu AI.