AI PPT Generation
SkillDev toolsThe awesome PPT format generation tool provided by baidu.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the AI PPT Generation skill
What this skill tells your AI
The instructions your AI receives, as published by craftos-dev/craftbot in skills/ai-ppt-generator/SKILL.md and read by ahel’s review.
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. Default timeouts may interrupt the stream before completion.
To ensure successful generation:
- The agent must wait for the full stream until
is_end: trueis received - Do NOT rely on immediate completion – monitor the streaming response
- If timeout occurs, the skill will appear to fail even though generation continues server-side
Workflow
- Execute
scripts/generate_ppt.pywith user query - Wait for streaming completion (2+ minutes typical)
- Return final PPT URL when
is_end: truereceived
Expected Output Format
Successful completion returns:
{
"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
Signals
- GitHub stars
- 382
- Forks
- 45
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
ai-ppt-generator- Source
- github.com/craftos-dev/craftbot