← 返回
内容创作 Key

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
{"translation": "百度提供的智能PPT生成工具可根据用户给定的主题或问题智能生成PPT。用户可选择PPT主题、模板或自定义模板,还可上传图片或资源文件(如pdf、word、txt等)。工具提供最终生成PPT文件的下载地址。"}
jlpjavawayup
内容创作 clawhub v1.0.0 1 版本 97264.9 Key: 需要
★ 19
Stars
📥 15,374
下载
💾 4,380
安装
1
版本
#latest

概述

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

namepathdescription
------------------------------------------------------------------------------------
PPTThemeQuery/v2/tools/ai_ppt/get_ppt_themeQuery the built-in list of PPT themes and templates
PPTOutlineGenerate/v2/tools/ai_ppt/generate_outlineGenerate a PPT outline based on the provided theme, template ID, style ID, etc
PPTGenerate/v2/tools/ai_ppt/generate_ppt_by_outlineGenerate 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

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 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

BAIDU_API_KEY=xxx python3 scripts/ppt_generate.py --query_id "xxx" --chat_id "xxx" ...

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-27 23:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,126
ai-intelligence

AI Notes of Video

jlpjavawayup
通过提供视频URL,使用百度的视频分析和笔记提取API,生成文档、大纲和图文AI笔记。
★ 6 📥 8,126
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,239