PPT生成
ai-ppt-generate
by baiduqianfangroup
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
安装
claude skill add --url github.com/openclaw/skills/tree/main/skills/baiduqianfangroup/ai-ppt-generate文档
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
- API Key: Ensure the BAIDU_API_KEY environment variable is set with your valid API key.
- 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
- The PPTThemeQuery API executes the Python script located at
scripts/ppt_theme_list.py - The PPTOutlineGenerate API executes the Python script located at
scripts/ppt_outline_generate.py - The PPTGenerate API executes the Python script located at
scripts/ppt_generate.py - The first step is for the user to query the PPT style query interface(PPTThemeQuery) to obtain the style ID and template ID
- 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).
- 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
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
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 downloadablegen_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
BAIDU_API_KEY=xxx python3 scripts/ppt_generate.py --query_id "xxx" --chat_id "xxx" ...
相关 Skills
技能工坊
by anthropics
覆盖 Skill 从创建到迭代优化全流程:起草能力、补测试提示、跑评测与基准方差分析,并持续改写内容和描述,提升效果与触发准确率。
✎ 技能工坊把技能从创建、迭代到评测串成闭环,方差分析加描述优化,特别适合把触发准确率打磨得更稳。
PPT处理
by anthropics
处理 .pptx 全流程:创建演示文稿、提取和解析幻灯片内容、批量修改现有文件,支持模板套用、合并拆分、备注评论与版式调整。
✎ 涉及PPTX的创建、解析、修改到合并拆分都能一站搞定,连备注、模板和评论也能处理,做演示文稿特别省心。
PDF处理
by anthropics
遇到 PDF 读写、文本表格提取、合并拆分、旋转加水印、表单填写或加解密时直接用它,也能提取图片、生成新 PDF,并把扫描件通过 OCR 变成可搜索文档。
✎ PDF杂活别再来回切工具了,文本表格提取、合并拆分到OCR识别一次搞定,连扫描件也能变可搜索。
相关 MCP 服务
文件系统
编辑精选by Anthropic
Filesystem 是 MCP 官方参考服务器,让 LLM 安全读写本地文件系统。
✎ 这个服务器解决了让 Claude 直接操作本地文件的痛点,比如自动整理文档或生成代码文件。适合需要自动化文件处理的开发者,但注意它只是参考实现,生产环境需自行加固安全。
by wonderwhy-er
Desktop Commander 是让 AI 直接执行终端命令、管理文件和进程的 MCP 服务器。
✎ 这工具解决了 AI 无法直接操作本地环境的痛点,适合需要自动化脚本调试或文件批量处理的开发者。它能让你用自然语言指挥终端,但权限控制需谨慎,毕竟让 AI 执行 rm -rf 可不是闹着玩的。
by stickerdaniel
LinkedIn Profile and Job Scraper 是让 Claude 直接抓取 LinkedIn 个人资料、公司信息和职位详情的工具。
✎ 这个服务器解决了招聘和商业调研中手动复制粘贴 LinkedIn 数据的痛点,适合猎头或市场分析师快速获取候选人背景和公司动态。不过,LinkedIn 反爬机制频繁更新,数据稳定性需要持续维护,使用时建议搭配人工验证。