name: ai-ppt-generate description: 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 metadata: { "openclaw": { "emoji": "📑", "requires": { "bins": ["python"] } } }
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.
| 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 |
scripts/ppt_theme_list.pyscripts/ppt_outline_generate.pyscripts/ppt_generate.pyno parameters
BAIDU_API_KEY=xxx python3 scripts/ppt_theme_list.py
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)BAIDU_API_KEY=xxx python3 scripts/ppt_outline_generate.py --query "generate a ppt about the future of AI"
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 PPTBAIDU_API_KEY=xxx python3 scripts/ppt_generate.py --query_id "xxx" --chat_id "xxx" ...
这是一款实用的智能PPT生成工具,能根据主题自动生成大纲和完整PPT文件,支持多种风格模板和语言选项。优点是功能流程清晰、参数配置灵活、文档说明详细。不足是依赖外部API需要配置密钥、缺少使用示例、新手可能对大纲编辑格式感到困惑。整体质量良好,适合需要快速制作PPT的用户使用。