Xpersona
B

Baidu Wenku AIPPT

CLAWHUB · Unverified

Generate PPT with Baidu Wenku AI. Smart template selection based on content.

62
Rank
84
Safety
34k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 33.7K downloads reported by the source. Last updated 11/16/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17a4y7rpj2bmp94zpqe8r915h83gq6d:ai-ppt-generator
  1. Install using `clawhub skill install s17a4y7rpj2bmp94zpqe8r915h83gq6d:ai-ppt-generator` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/ide-rea/ai-ppt-generator before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-ide-rea-ai-ppt-generator-enerator-2/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

33,318 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: Baidu Wenku AIPPT
description: Generate PPT with Baidu Wenku AI. Smart template selection based on content.
metadata: { "openclaw": { "emoji": "📑", "requires": { "bins": ["python3"], "env":["BAIDU_API_KEY"]},"primaryEnv":"BAIDU_API_KEY" } }
---

# AI PPT Generator

Generate PPT using Baidu AI 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
```bash
# List all templates with IDs
python3 scripts/ppt_theme_list.py

# Smart automatic selection (recommended for most users)
python3 scripts/random_ppt_theme.py --query "人工智能发展趋势报告"

# Specific template with proper style_id
python3 scripts/generate_ppt.py --query "儿童英语课件" --tpl_id 106

# Specific template with auto-suggested category
python3 scripts/random_ppt_theme.py --query "企业年度总结" --category "企业商务"
```

## 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:**
```json
{"status": "PPT生成中", "run_time": 45}
```

**Final result:**
```json
{
  "status": "PPT导出结束", 
  "is_end": true, 
  "data": {"ppt_url": "https://image0.bj.bcebos.com/...ppt"}
}
```

## Technical Notes
- **API integration**: Fetches real style_id from Baidu API for each template
- **Error handling**: If template not found, falls back to random selection
- **Time

_meta.json

{
  "ownerId": "kn7akgt520t01vgs2tzx7yk6m180kt26",
  "slug": "ai-ppt-generator",
  "version": "1.1.4",
  "publishedAt": 1773656502997
}

skill-card.md

## Description:

Generate PPT with Baidu Wenku AI. Smart template selection based on content.

This skill is ready for commercial/non-commercial use.

## Publisher:

[ide-rea](https://clawhub.ai/user/ide-rea)

### License/Terms of Use:

MIT-0

## Use Case:

External users and agents use this skill to generate Baidu Wenku AI presentations from a topic, either by selecting a template or by using automated template selection.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: PPT topics and optional web content are sent to Baidu's API using the configured BAIDU_API_KEY.

Mitigation: Do not submit secrets, private business plans, regulated data, or other sensitive content unless the user's Baidu account and policies allow that use.

Risk: The skill depends on a live external API and credentialed network access to complete generation.

Mitigation: Confirm BAIDU_API_KEY is configured for the intended account and expect generation to fail or delay if the Baidu service is unavailable.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/ide-rea/skills/ai-ppt-generator)
- [Baidu Qianfan AI PPT API endpoint](https://qianfan.baidubce.com/v2/tools/ai_ppt/)
- [Baidu Qianfan PPT theme endpoint](https://qianfan.baidubce.com/v2/tools/ai_ppt/get_ppt_theme)

## Skill Output:

**Output Type(s):** [text, shell commands, configuration, API calls]

**Output Format:** [Markdown guidance with shell commands and JSON status output]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires python3 and BAIDU_API_KEY; final output is a generated PPT URL when the Baidu API reports completion.]

## Skill Version(s):

1.1.5 (source: server release metadata; artifact _meta.json reports 1.1.4)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Baidu Wenku AIPPT and adjacent AI workflows.