agentCLAWHUBUnverified

AI picture book generate

Generate static or dynamic picture book videos using Baidu AI Skill: AI picture book generate Owner: ide-rea Summary: Generate static or dynamic picture book videos using Baidu AI Tags: latest:1.1.0 Version history: v1.1.0 | 2026-02-13T04:14:04.079Z | auto - Adds support for generating both static and dynamic picture book videos using Baidu AI. - Requires users to specify book type (static/9 or dynamic/10); prompts if not provided. - Provides clear status codes for task progres

Rank

62

Safety

84

Downloads

5.6k

Updated

Apr 15, 2026

Version

1.1.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 5.6K downloads reported by the source. Last updated 4/15/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Apr 15, 2026
Adoption signal
5.6K downloadsadoption · observed Apr 15, 2026
Latest release
1.1.0release · observed Feb 13, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install kn7akgt520t01vgs2tzx7yk6m180kt26:ai-picture-book
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-ide-rea-ai-picture-book/snapshot"

Documentation

CLAWHUB

8,355 characters of source documentation, loaded on request.

Extracted files

2 files captured from the source.

SKILL.md

---
name: ai-picture-book
description: Generate static or dynamic picture book videos using Baidu AI
metadata: { "openclaw": { "emoji": "📔", "requires": { "bins": ["python3"], "env":["BAIDU_API_KEY"]},"primaryEnv":"BAIDU_API_KEY" } }
---

# 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 (dynamic)"
- Processing error: "Failed to generate picture book"
- Timeout: "Task timed out. Try again later"

_meta.json

{
  "ownerId": "kn7akgt520t01vgs2tzx7yk6m180kt26",
  "slug": "ai-picture-book",
  "version": "1.1.0",
  "publishedAt": 1770956044079
}

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/ide-rea/ai-picture-book",
      "sourceUrl": "https://clawhub.ai/ide-rea/ai-picture-book",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-04-15T00:45:39.800Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "5.6K downloads",
      "href": "https://clawhub.ai/ide-rea/ai-picture-book",
      "sourceUrl": "https://clawhub.ai/ide-rea/ai-picture-book",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-04-15T00:45:39.800Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.1.0",
      "href": "https://clawhub.ai/ide-rea/ai-picture-book",
      "sourceUrl": "https://clawhub.ai/ide-rea/ai-picture-book",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-02-13T04:14:04.079Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-ide-rea-ai-picture-book/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-ide-rea-ai-picture-book/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.1.0",
      "description": "- Adds support for generating both static and dynamic picture book videos using Baidu AI. - Requires users to specify book type (static/9 or dynamic/10); prompts if not provided. - Provides clear status codes for task progress and error scenarios. - Includes improved auto/manual polling strategy with documented example scripts. - Enhances error messages for invalid input and processing failures.",
      "href": "https://clawhub.ai/ide-rea/ai-picture-book",
      "sourceUrl": "https://clawhub.ai/ide-rea/ai-picture-book",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-02-13T04:14:04.079Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 9, 2026.

Sponsored

Ads related to AI picture book generate and adjacent AI workflows.