← 返回
未分类 Key 中文

Ai Ppt Generator

Generate PPT with SkillBoss API Hub. Smart template selection based on content.
使用 SkillBoss API Hub 生成 PPT,基于内容的智能模板选择。
alvisdunlop alvisdunlop 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 316
下载
💾 0
安装
1
版本
#latest

概述

AI PPT Generator

Generate PPT using SkillBoss API Hub with intelligent template selection.

Smart Workflow

  1. User provides PPT topic
  2. Agent asks: "Want to choose a template style?"
  3. If yes Show styles from ppt_theme_list.py User picks Use generate_ppt.py with chosen tpl_id and real style_id
  4. If no Use random_ppt_theme.py (auto-selects appropriate template based on topic content)

Intelligent Template Selection

random_ppt_theme.py analyzes the topic and suggests appropriate template:

  • Business topics ҵ style
  • Technology topics δƼ style
  • Education topics ֻͨ style
  • Creative topics Ȥζ style
  • Cultural topics й or Ļ style
  • Year-end reports ܽ style
  • Minimalist design ƽԼ style
  • Artistic content style

Scripts

  • scripts/ppt_theme_list.py - List all available templates with style_id and tpl_id
  • scripts/random_ppt_theme.py - Smart template selection + generate PPT
  • scripts/generate_ppt.py - Generate PPT with specific template (uses real style_id and tpl_id from API)

Key Features

  • Smart categorization: Analyzes topic content to suggest appropriate style
  • Fallback logic: If template not found, automatically uses random selection
  • Complete parameters: Properly passes both style_id and tpl_id to API

Usage Examples

Agent Steps

  1. Get PPT topic from user
  2. Ask: "Want to choose a template style?"
  3. If user says YES:
    • Run ppt_theme_list.py to show available templates
    • User selects a template (note the tpl_id)
    • Run generate_ppt.py --query "TOPIC" --tpl_id ID
  4. If user says NO:
    • Run random_ppt_theme.py --query "TOPIC"
    • Script will auto-select appropriate template based on topic
  5. Set timeout to 300 seconds (PPT generation takes 2-5 minutes)
  6. Monitor output, wait for is_end: true to get final PPT URL

Output Examples

During generation:

Final result:

Technical Notes

  • API integration: Fetches real style_id from SkillBoss API Hub for each template
  • Error handling: If template not found, falls back to random selection
  • Timeout: Generation takes 2-5 minutes, set sufficient timeout
  • Streaming: Uses streaming API, wait for is_end: true before considering complete

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 22:46 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

professional

A Stock Trading Assistant

alvisdunlop
提供沪深A股实时行情、个股技术/基本面分析、大盘情绪、热点板块、交易策略及价格预警服务。
★ 0 📥 711
office-efficiency

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 929 📥 187,012
office-efficiency

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 458 📥 152,895