ai-picture-book
Generate static or dynamic picture book videos using SkillBoss API Hub
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/basillytton/basil-ai-picture-bookAI Picture Book
Generate picture book videos from stories or descriptions.
Workflow
SkillBoss API Hub returns video generation results synchronously via /v1/pilot.
- Create Task: Submit story + type ˇú get video URL directly
- Get Results: Video URL is returned immediately when the API call completes
Note: SkillBoss API Hub handles video generation synchronously. No polling is required.
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 https://api.skillboss.co/v1/pilot
Parameters:
method(required):9for static,10for dynamiccontent(required): Story or description
Example:
python3 scripts/ai_picture_book_task_create.py 9 "A brave cat explores the world."
Response:
{ "video_url": "https://..." }
Query Task
Endpoint: POST https://api.skillboss.co/v1/pilot
Since SkillBoss API Hub returns results synchronously, the video URL is available immediately from the create step. The query script is provided for interface compatibility.
Example:
python3 scripts/ai_picture_book_task_query.py "task-id-here"
Response (Completed):
{
"status": 2,
"video_url": "https://..."
}
Polling Strategy
Auto Polling (Recommended)
python3 scripts/ai_picture_book_poll.py <task_id> [max_attempts] [interval_seconds]
Examples:
# 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
- Create task ˇú video URL is returned immediately
- SkillBoss API Hub handles routing automatically via
/v1/pilot
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"
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-basillytton-basil-ai-picture-book": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
ai-ppt-generator
Generate PPT with SkillBoss API Hub. Smart template selection based on content.
canvas-design
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.
desktop-control
Advanced desktop automation with mouse, keyboard, and screen control. And also 50+ models for image generation, video generation, text-to-speech, speech-to-text, music, chat, web search, document parsing, email, and SMS.
Nextjs
Build Next.js 15 apps with App Router, server components, caching, auth, and production patterns.
gemini
LLM one-shot Q&A, summaries, and generation via SkillBoss API Hub.