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
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 9 · 6.4k · 42 current installs · 43 all-time installs
bybaidu_qianfan@baiduQianfanGroup
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
The name/description (Baidu AI PPT generation) aligns with the included scripts: they call Baidu endpoints (qianfan.baidubce.com) to list themes, generate outlines, and produce PPTs. The required python binary is appropriate. However, the registry metadata claims no required env vars while both SKILL.md and all three scripts require a BAIDU_API_KEY — this mismatch is a packaging/information inconsistency.
Instruction Scope
SKILL.md instructs the agent to call the three Python scripts which send requests to Baidu APIs. The instructions only reference the BAIDU_API_KEY and user-supplied parameters (query, resource_url, custom_tpl_url, etc.). The scripts do not read arbitrary files, other environment variables, or local configuration beyond BAIDU_API_KEY, and they stream SSE responses as expected.
Install Mechanism
There is no install spec (instruction-only skill with bundled Python scripts). That is low risk — nothing is downloaded or extracted by an installer. The only runtime requirement is a Python interpreter and the requests library (not explicitly declared), so the user/agent must provide a Python environment.
Credentials
The skill requires a BAIDU_API_KEY (checked at runtime in every script and referenced in SKILL.md) but the registry metadata lists no required environment variables; this is an inconsistency that could confuse users and lead to unexpected failures or misconfiguration. The BAIDU_API_KEY is the only credential used; no unrelated secrets are requested. Note: user-supplied resource_url and custom_tpl_url are relayed to the remote API and could cause user data (or links to files) to be sent to Baidu's service.
Persistence & Privilege
The skill does not request persistent/always-on inclusion, does not modify other skills/configurations, and does not write to system paths. Autonomous invocation is allowed (platform default) but not combined with any unusual privilege escalation.
What to consider before installing
This skill appears to be a wrapper for Baidu's AI-PPT APIs and its scripts require a BAIDU_API_KEY at runtime — despite the registry metadata saying no env vars are required. Before installing, confirm: (1) you have a dedicated BAIDU_API_KEY for this purpose (avoid using broad or privileged keys), (2) qianfan.baidubce.com is the intended/official service endpoint for your key, and (3) any resource_url or custom_tpl_url you supply may be uploaded or fetched by the remote service (don’t pass links to sensitive documents). Also ensure your Python environment has the 'requests' package available. The main issue is the metadata omission of the required env var — if the publisher fixes that, the package is coherent; currently treat the omission as a red flag and verify the origin of the skill and the API key usage policy before proceeding.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
📑 Clawdis
Binspython
SKILL.md
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" ...
Files
4 totalSelect a file
Select a file to preview.
Comments
Loading comments…
