Baidu Wenku AI picture book of video
百度文库AI绘本是一个基于人工智能制作绘本视频的工具,支持生成静态绘本和动态绘本(URL输出)。能帮助文本内容创作者们在缺乏绘画技能的情况下,快速生成精美绘本视频,提高内容生产效率。无论是在儿童教育、亲子互动、品牌营销,还是在社交媒体内容创作等领域都能应用。
ide-rea
@ide-rea
What This Skill Does
AI-powered tool that generates picture book videos from text descriptions. Supports both static and dynamic picture book output as video URLs. Requires a Baidu API key for authentication.
Replaces manual illustration and animation work by automatically converting written stories into polished picture book videos.
When to Use It
- Create educational picture book videos for children's lessons
- Visualize brand stories or product histories for marketing campaigns
- Generate dynamic picture books for social media content
- Produce illustrated versions of historical or scientific topics for general audiences
- Supply video content for e-book platforms or knowledge media
Install
$ openclaw skills install @ide-rea/ai-picture-book百度文库AI绘本
应用场景
- 快速生成课程相关的教学绘本
- AI绘本快速实现故事可视化,缩短创作周期
- 品牌故事、产品历程或公益活动视频创作,增强传播感染力。
- 绘本形式呈现历史、科学、民俗等内容,提升大众理解度与阅读体验
- 为电子书平台、知识媒体提供视频内容素材
执行流程
- 创建绘本任务: Submit story + type → get task ID
- 轮询任务状态: Query every 5-10s until completion
- 获取任务结果: Retrieve video URLs when status = 2
绘本类型
| 类型 | 值 | 描述 |
|---|---|---|
| 静态 | 9 | 静态绘本 |
| 动态 | 10 | 动态绘本 |
必选: 用户生成绘本必须指定绘本类型 (静态/9 or 动态/10). 如果没有提供, 主动询问用户选择一种.
状态码说明
| 状态码 | 状态描述 | 需要的操作 |
|---|---|---|
| 0, 1, 3 | 进行中 | 继续轮询 |
| 2 | 完成 | 获取绘本结果 |
| Other | 失败 | 展示异常 |
使用说明
创建任务
Endpoint: POST /v2/tools/ai_picture_book/task_create
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:
{ "task_id": "uuid-string" }
查询任务
Endpoint: GET /v2/tools/ai_picture_book/query
Parameters:
task_id(required): Task ID from create endpoint
Example:
python3 scripts/ai_picture_book_task_query.py --task_id="task-id-here"
Response (Completed):
{
"task_id": "uuid-string",
"status": 2,
"video_bos_url": "https://..."
}
循环拉取任务状态
Option 1: Auto Polling (Recommended)
python3 scripts/ai_picture_book_poll.py --task_id="task-id-here" [--max_attempts=30] [--interval=5]
Examples:
# Default: 20 attempts, 5s intervals
python3 scripts/ai_picture_book_poll.py --task_id="task-id-here"
# Custom: 30 attempts, 10s intervals
python3 scripts/ai_picture_book_poll.py --task_id="task-id-here" --max_attempts=30 --interval=10
Option 2: Manual Polling
- Create task → store
task_id - Query every 5-10s until status = 2
- Timeout after 2-3 minutes
异常处理
- 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"
Top skills in this category
CAD Agent
@clawd-mafSend build123d CAD commands via HTTP to render images, allowing visual iteration on 3D models entirely within a containerized CAD environment.
SuperDesign
@mpociotExpert frontend design guidelines for creating beautiful, modern UIs. Use when building landing pages, dashboards, or any user interface.
Video Frames
@steipeteExtract frames or short clips from videos using ffmpeg.
Frontend Design
@michaelmonetizedCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when building web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Remotion Video Toolkit
@shreefentsarComplete toolkit for programmatic video creation with Remotion + React. Covers animations, timing, rendering (CLI/Node.js/Lambda/Cloud Run), captions, 3D, charts, text effects, transitions, and media handling. Use when writing Remotion code, building video generation pipelines, or creating data-driven video templates.