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
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/baiduqianfangroup/ai-ppt-generateAI 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
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-baiduqianfangroup-ai-ppt-generate": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
baidu-baike
The Baidu Baike Component is a knowledge service tool designed to query authoritative encyclopedia explanations for various nouns. Its core function is given a specific "noun" (object, person, location, concept, event, etc.) provided by the user, it returns a standardized, detailed entry explanation sourced from Baidu Baike.
Ai Notes Video
Skill by baiduqianfangroup
Ai Notes Of Video
Skill by baiduqianfangroup
qianfan-clawhub
Search and install Baidu Qianfan ecosystem skills with fuzzy matching across slug, name, and description fields
baidu-scholar-search
Baidu Academic Search Tool enables the retrieval of both Chinese and English literature, covering various types of literature such as academic journals, conference papers, and dissertations.