baidu-wenku-ai-picture-book

百度文库AI绘本是一个基于人工智能制作绘本视频的工具,支持生成静态绘本和动态绘本(URL输出)。能帮助文本内容创作者们在缺乏绘画技能的情况下,快速生成精美绘本视频,提高内容生产效率。无论是在儿童教育、亲子互动、品牌营销,还是在社交媒体内容创作等领域都能应用。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "baidu-wenku-ai-picture-book" with this command: npx skills add ide-rea/ai-picture-book

百度文库AI绘本

应用场景

  • 快速生成课程相关的教学绘本
  • AI绘本快速实现故事可视化,缩短创作周期
  • 品牌故事、产品历程或公益活动视频创作,增强传播感染力。
  • 绘本形式呈现历史、科学、民俗等内容,提升大众理解度与阅读体验
  • 为电子书平台、知识媒体提供视频内容素材

执行流程

  1. 创建绘本任务: Submit story + type → get task ID
  2. 轮询任务状态: Query every 5-10s until completion
  3. 获取任务结果: 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): 9 for static, 10 for dynamic
  • content (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

  1. Create task → store task_id
  2. Query every 5-10s until status = 2
  3. 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"

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Tongcheng Chengxin Travel Search

同程程心 Skill - 基于同程旅行大模型(程心)的在线旅游搜索能力。提供更专业的机票、火车票、酒店、度假产品(自由行/跟团游)、旅游攻略、行程规划、特价机票、汽车票、长途汽车、景区、门票等的查询能力,基于同程官方数据,更加实时准确可靠,一键进入预订页面,让旅行更简单,更快乐。

Registry SourceRecently Updated
General

xinyi-drink

Use when users ask about 新一好喝/新一咖啡 drinks, stores, menu, activities, Skill用户大礼包, today drink recommendations, afternoon tea, feeling sleepy, or personalized...

Registry SourceRecently Updated
General

ASR Hotwords

自动从 OpenClaw 对话记录挖掘高频热词与歧义词,生成供 ASR 模型提升转录准确性的热词表。

Registry SourceRecently Updated
General

Craftsman

Craftsman is a century-old American tool brand known for lifetime warranties, mid-range pricing, and a shift from Sears exclusive to a Stanley Black & Decker...

Registry SourceRecently Updated