Ai Ppt Generator

The awesome PPT format generation tool provided by baidu.

安裝
$clawhub install ai-ppt-generator

AI PPT Generation

Using user input topic/query, generate a high-quality PPT download URL via Baidu AI's streaming API.

Important: Streaming Timeout Behavior

This skill uses streaming HTTP requests that can take 2+ minutes to complete. OpenClaw has default timeouts that may interrupt the stream before completion.

To ensure successful generation: 1. The agent must wait for the full stream until is_end: true is received 2. Do NOT rely on immediate completion – monitor the streaming response 3. If timeout occurs, the skill will appear to fail even though generation continues server-side

Workflow

  1. Execute scripts/generate_ppt.py with user query
  2. Wait for streaming completion (2+ minutes typical)
  3. Return final PPT URL when is_end: true received

Expected Output Format

Successful completion returns: json { "status": "PPT导出结束", "show_msg": "PPT导出成功", "is_end": true, "data": { "ppt_url": "https://...ppt" } }

During generation, you'll see interim {"status": "..."} messages.

Example Usage

python3 scripts/generate_ppt.py --query "经济总结报告ppt"

Agent Instructions

When using this skill: - Set appropriate timeout: Ensure exec/sessions have sufficient timeout (180+ seconds) - Monitor streaming output: Don't assume failure if initial responses only show status - Wait for completion: The final URL only appears at stream end with is_end: true - Handle gracefully: If interrupted, inform user generation may continue server-side

Troubleshooting

  • PPT not appearing: Likely timeout before stream completion
  • Only status messages: Generation is in progress, wait longer
  • Script exits early: Check BAIDU_API_KEY and network connectivity

詳情

版本
v1.1.2
下載
6,079
星標
5

熱門 Skills

Tavily AI Search
AI-optimized web search using Tavily Search API. Use when you need comprehensive web research, current events lookup, domain-specific search, or AI-generated answer summaries. Tavily is optimized for LLM consumption with clean structured results, answer generation, and raw content extraction. Best for research tasks, news queries, fact-checking, and gathering authoritative sources.
Larry
Automate TikTok slideshow marketing for any app or product. Researches competitors, generates AI images, adds text overlays, posts via Postiz, tracks analytics, and iterates on what works. Use when setting up TikTok marketing automation, creating slideshow posts, analyzing post performance, optimizing app marketing funnels, or when a user mentions TikTok growth, slideshow ads, or social media marketing for their app. Covers competitor research (browser-based), image generation, text overlays, TikTok posting (Postiz API), cross-posting to Instagram/YouTube/Threads, analytics tracking, hook testing, CTA optimization, conversion tracking with RevenueCat, and a full feedback loop that adjusts hooks and CTAs based on views vs conversions.
Klaviyo
Klaviyo API integration with managed OAuth. Access profiles, lists, segments, campaigns, flows, events, metrics, templates, catalogs, and webhooks. Use this skill when users want to manage email marketing, customer data, or integrate with Klaviyo workflows. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).