360 Secure SkillHub
360 安全技能中心

iFLYTEK AI PPT Generator

该 Skill 通过 Python 脚本接收 5–10 词的正式报告式主题短语,调用外部 PPT 生成服务,一次调用输出一份结构完整、多级幻灯片组织的 PowerPoint 演示文稿;适用于商业报告、技术演示与内部培训。需预先配置应用凭据环境变量,且主题须先完成语义压缩。

dzy-1026
dzy-1026
热度 58.78
最近更新 2026-05-11 17:29:05
分类:创作依赖:代码执行 / 第三方 API应用场景:演示设计

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add xfyun-ppt-gen
Metadata
name
ppt-generator
description
Generate professional, structured PowerPoint presentations from optimized topic keywords.
homepage
https://www.xfyun.cn/doc/spark/PPTv2.html
metadata
{"openclaw":{"emoji":"📊","requires":{"bins":["python"],"env":["XF_PPT_APP_ID","XF_PPT_API_SECRET"]},"primaryEnv":"XF_PPT_APP_ID"}}

📊 PPT Generator

Generate a complete, logically structured, and presentation-ready PowerPoint deck from a professionally optimized topic phrase.

Designed for business, technical, and training scenarios.


✨ Features

  • Automatic slide outline generation
  • Clear logical hierarchy
  • Business-ready formatting
  • One-command execution
  • Deterministic single-output generation

🚀 Usage

python {baseDir}/scripts/index.py generate_ppt "<optimized-topic>"

Example:

python {baseDir}/scripts/index.py generate_ppt "Artificial Intelligence Industry Trends"

🧠 Input Specification (Strict Contract)

Before invoking the skill, the topic must undergo semantic compression optimization.

Final Topic Requirements

  • 5–10 words
  • Formal report-style title
  • Clear and domain-specific
  • No conversational language
  • Not a full sentence

Input Optimization Examples

Raw User Request Optimized Topic
帮我做一个关于人工智能发展现状的PPT 人工智能发展现状
我要介绍一下公司今年的技术规划 公司年度技术规划
做一份给新员工的Java培训PPT Java新员工培训

⚠ Constraints

  • One invocation generates one complete PPT
  • Raw user input must NOT be passed directly
  • Environment variables must be configured before execution

🔧 Environment Setup

Required:

  • Python available in PATH
  • Environment variables configured:
export XF_PPT_APP_ID=your_app_id
export XF_PPT_API_SECRET=your_api_secret

📦 Output

  • Fully structured PPT file
  • Multi-level slide organization
  • Presentation-ready content layout
  • Business-standard formatting

🎯 Target Use Cases

  • Business reports
  • Strategy planning
  • Technical presentations
  • Internal training materials
  • Academic summaries

🛠 Extensibility

Future enhancements may include:

  • Slide count configuration
  • Language selection
  • Theme customization
  • Template switching
  • AI-assisted topic compression

Built for automation workflows and AI-driven document generation.