Overview
- Skill Key
- ide-rea/ai-picture-book
- Author
- ide-rea
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/ide-rea/ai-picture-book
- Latest Commit SHA
- db15f40e230b5bfb6d4cf9672b10939bfa3e6541
Generate static or dynamic picture book videos using Baidu AI
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 ai-picture-book 技能。 若已安装,则直接安装 ai-picture-book 技能。
# AI Picture Book
Generate picture book videos from stories or descriptions.
## Workflow
1. **Create Task**: Submit story + type → get task ID
2. **Poll Status**: Query every 5-10s until completion
3. **Get Results**: Retrieve video URLs when status = 2
## Book Types
| Type | Method | Description |
|------|--------|-------------|
| Static | 9 | Static picture book |
| Dynamic | 10 | Dynamic picture book |
**Required**: User must specify type (static/9 or dynamic/10). If not provided, ask them to choose.
## Status Codes
| Code | Status | Action |
|-------|---------|---------|
| 0, 1, 3 | In Progress | Continue polling |
| 2 | Completed | Return results |
| Other | Failed | Show error |
## APIs
### Create Task
**Endpoint**: `POST /v2/tools/ai_picture_book/task_create`
**Parameters**:
- `method` (required): `9` for static, `10` for dynamic
- `content` (required): Story or description
**Example**:
```bash
python3 scripts/ai_picture_book_task_create.py 9 "A brave cat explores the world."
```
**Response**:
```json
{ "task_id": "uuid-string" }
```
### Query Task
**Endpoint**: `GET /v2/tools/ai_picture_book/query`
**Parameters**:
- `task_id` (required): Task ID from create endpoint
**Example**:
```bash
python3 scripts/ai_picture_book_task_query.py "task-id-here"
```
**Response** (Completed):
```json
{
"status": 2,
"video_bos_url": "https://...",
}
```
## Polling Strategy
### Auto Polling (Recommended)
```bash
python3 scripts/ai_picture_book_poll.py <task_id> [max_attempts] [interval_seconds]
```
**Examples**:
```bash
# Default: 20 attempts, 5s intervals
python3 scripts/ai_picture_book_poll.py "task-id-here"
# Custom: 30 attempts, 10s intervals
python3 scripts/ai_picture_book_poll.py "task-id-here" 30 10
```
### Manual Polling
1. Create task → store `task_id`
2. Query every 5-10s until status = 2
3. Timeout after 2-3 minutes
## Error Handling
- Invalid content: "Content cannot be empty"
- Invalid type: "Invalid type. Use 9 (static) or 10 (dynami...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.