{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ai-ppt-generator",
    "name": "Ai Ppt Generator",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/ide-rea/ai-ppt-generator",
    "canonicalUrl": "https://clawhub.ai/ide-rea/ai-ppt-generator",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/ai-ppt-generator",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-ppt-generator",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/generate_ppt.py",
      "scripts/ppt_theme_list.py",
      "scripts/random_ppt_theme.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ai-ppt-generator"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/ai-ppt-generator",
    "agentPageUrl": "https://openagent3.xyz/skills/ai-ppt-generator/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ai-ppt-generator/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ai-ppt-generator/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "AI PPT Generator",
        "body": "Generate PPT using Baidu AI with intelligent template selection."
      },
      {
        "title": "Smart Workflow",
        "body": "User provides PPT topic\nAgent asks: \"Want to choose a template style?\"\nIf yes → Show styles from ppt_theme_list.py → User picks → Use generate_ppt.py with chosen tpl_id and real style_id\nIf no → Use random_ppt_theme.py (auto-selects appropriate template based on topic content)"
      },
      {
        "title": "Intelligent Template Selection",
        "body": "random_ppt_theme.py analyzes the topic and suggests appropriate template:\n\nBusiness topics → 企业商务 style\nTechnology topics → 未来科技 style\nEducation topics → 卡通手绘 style\nCreative topics → 创意趣味 style\nCultural topics → 中国风 or 文化艺术 style\nYear-end reports → 年终总结 style\nMinimalist design → 扁平简约 style\nArtistic content → 文艺清新 style"
      },
      {
        "title": "Scripts",
        "body": "scripts/ppt_theme_list.py - List all available templates with style_id and tpl_id\nscripts/random_ppt_theme.py - Smart template selection + generate PPT\nscripts/generate_ppt.py - Generate PPT with specific template (uses real style_id and tpl_id from API)"
      },
      {
        "title": "Key Features",
        "body": "Smart categorization: Analyzes topic content to suggest appropriate style\nFallback logic: If template not found, automatically uses random selection\nComplete parameters: Properly passes both style_id and tpl_id to API"
      },
      {
        "title": "Usage Examples",
        "body": "# List all templates with IDs\npython3 scripts/ppt_theme_list.py\n\n# Smart automatic selection (recommended for most users)\npython3 scripts/random_ppt_theme.py --query \"人工智能发展趋势报告\"\n\n# Specific template with proper style_id\npython3 scripts/generate_ppt.py --query \"儿童英语课件\" --tpl_id 106\n\n# Specific template with auto-suggested category\npython3 scripts/random_ppt_theme.py --query \"企业年度总结\" --category \"企业商务\""
      },
      {
        "title": "Agent Steps",
        "body": "Get PPT topic from user\nAsk: \"Want to choose a template style?\"\nIf user says YES:\n\nRun ppt_theme_list.py to show available templates\nUser selects a template (note the tpl_id)\nRun generate_ppt.py --query \"TOPIC\" --tpl_id ID\n\n\nIf user says NO:\n\nRun random_ppt_theme.py --query \"TOPIC\"\nScript will auto-select appropriate template based on topic\n\n\nSet timeout to 300 seconds (PPT generation takes 2-5 minutes)\nMonitor output, wait for is_end: true to get final PPT URL"
      },
      {
        "title": "Output Examples",
        "body": "During generation:\n\n{\"status\": \"PPT生成中\", \"run_time\": 45}\n\nFinal result:\n\n{\n  \"status\": \"PPT导出结束\", \n  \"is_end\": true, \n  \"data\": {\"ppt_url\": \"https://image0.bj.bcebos.com/...ppt\"}\n}"
      },
      {
        "title": "Technical Notes",
        "body": "API integration: Fetches real style_id from Baidu API for each template\nError handling: If template not found, falls back to random selection\nTimeout: Generation takes 2-5 minutes, set sufficient timeout\nStreaming: Uses streaming API, wait for is_end: true before considering complete"
      }
    ],
    "body": "AI PPT Generator\n\nGenerate PPT using Baidu AI with intelligent template selection.\n\nSmart Workflow\nUser provides PPT topic\nAgent asks: \"Want to choose a template style?\"\nIf yes → Show styles from ppt_theme_list.py → User picks → Use generate_ppt.py with chosen tpl_id and real style_id\nIf no → Use random_ppt_theme.py (auto-selects appropriate template based on topic content)\nIntelligent Template Selection\n\nrandom_ppt_theme.py analyzes the topic and suggests appropriate template:\n\nBusiness topics → 企业商务 style\nTechnology topics → 未来科技 style\nEducation topics → 卡通手绘 style\nCreative topics → 创意趣味 style\nCultural topics → 中国风 or 文化艺术 style\nYear-end reports → 年终总结 style\nMinimalist design → 扁平简约 style\nArtistic content → 文艺清新 style\nScripts\nscripts/ppt_theme_list.py - List all available templates with style_id and tpl_id\nscripts/random_ppt_theme.py - Smart template selection + generate PPT\nscripts/generate_ppt.py - Generate PPT with specific template (uses real style_id and tpl_id from API)\nKey Features\nSmart categorization: Analyzes topic content to suggest appropriate style\nFallback logic: If template not found, automatically uses random selection\nComplete parameters: Properly passes both style_id and tpl_id to API\nUsage Examples\n# List all templates with IDs\npython3 scripts/ppt_theme_list.py\n\n# Smart automatic selection (recommended for most users)\npython3 scripts/random_ppt_theme.py --query \"人工智能发展趋势报告\"\n\n# Specific template with proper style_id\npython3 scripts/generate_ppt.py --query \"儿童英语课件\" --tpl_id 106\n\n# Specific template with auto-suggested category\npython3 scripts/random_ppt_theme.py --query \"企业年度总结\" --category \"企业商务\"\n\nAgent Steps\nGet PPT topic from user\nAsk: \"Want to choose a template style?\"\nIf user says YES:\nRun ppt_theme_list.py to show available templates\nUser selects a template (note the tpl_id)\nRun generate_ppt.py --query \"TOPIC\" --tpl_id ID\nIf user says NO:\nRun random_ppt_theme.py --query \"TOPIC\"\nScript will auto-select appropriate template based on topic\nSet timeout to 300 seconds (PPT generation takes 2-5 minutes)\nMonitor output, wait for is_end: true to get final PPT URL\nOutput Examples\n\nDuring generation:\n\n{\"status\": \"PPT生成中\", \"run_time\": 45}\n\n\nFinal result:\n\n{\n  \"status\": \"PPT导出结束\", \n  \"is_end\": true, \n  \"data\": {\"ppt_url\": \"https://image0.bj.bcebos.com/...ppt\"}\n}\n\nTechnical Notes\nAPI integration: Fetches real style_id from Baidu API for each template\nError handling: If template not found, falls back to random selection\nTimeout: Generation takes 2-5 minutes, set sufficient timeout\nStreaming: Uses streaming API, wait for is_end: true before considering complete"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ide-rea/ai-ppt-generator",
    "publisherUrl": "https://clawhub.ai/ide-rea/ai-ppt-generator",
    "owner": "ide-rea",
    "version": "1.1.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ai-ppt-generator",
    "downloadUrl": "https://openagent3.xyz/downloads/ai-ppt-generator",
    "agentUrl": "https://openagent3.xyz/skills/ai-ppt-generator/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ai-ppt-generator/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ai-ppt-generator/agent.md"
  }
}