Generate polished PowerPoint presentations with Baidu AI — intelligent template selection matches your topic automatically.
npx clawhub@latest install ai-ppt-generatorRequirements
AI PPT Generator creates PowerPoint presentations using Baidu AI's generation API, with smart template matching based on your topic. Provide a subject, and the skill either auto-selects the most appropriate style (business, technology, education, creative, cultural, and more) or lets you browse and pick from the full template library. Generation takes 2–5 minutes and delivers a ready-to-download PPT URL.
npx clawhub@latest install ai-ppt-generatorClick the Install button at the top of this page for one-click setup
random_ppt_theme.py analyzes your topic and maps it to the most fitting style — e.g., business topics get 企业商务, technology topics get 未来科技, education topics get 卡通手绘. If no match is found, it falls back to random selection automatically.
Run ppt_theme_list.py to retrieve all available templates with their style_id and tpl_id from the Baidu API. Users can browse the full library and pass a specific tpl_id to generate_ppt.py for precise control.
The skill uses Baidu's streaming API and monitors the output for is_end: true before surfacing the final PPT download URL. This ensures the agent never returns an incomplete result.
If a requested template cannot be found or matched, the skill automatically falls back to random template selection so generation always completes without manual intervention.
The skill follows a conversational agent pattern: it asks whether the user wants to choose a template style, then branches accordingly — either listing templates for manual selection or running auto-selection based on topic content.
A user provides a topic like "企业年度总结" (annual company summary). The skill auto-selects the 企业商务 or 年终总结 template and generates a complete presentation, returning a download URL within minutes.
A teacher or instructional designer inputs a topic such as "儿童英语课件" (children's English courseware). The skill maps this to the 卡通手绘 style and produces a visually appropriate deck ready for classroom use.
A developer or analyst submits "人工智能发展趋势报告" (AI development trend report). The skill selects the 未来科技 template and generates a polished, on-brand slide deck automatically.
A power user runs ppt_theme_list.py to browse all templates, identifies a specific tpl_id, then calls generate_ppt.py directly with that ID to produce a precisely styled presentation.
BAIDU_API_KEY).npx clawhub@latest install ai-ppt-generatorRequirements
Log in to write a review
No reviews yet. Be the first to share your experience!