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

Google Classroom

Google Classroom API integration with managed OAuth. Manage courses, assignments, students, teachers, and announcements. Use this skill when users want to cr...

Registry SourceRecently Updated
General

GetResponse

GetResponse API integration with managed OAuth. Manage email marketing campaigns, contacts, newsletters, autoresponders, and segments. Use this skill when us...

Registry SourceRecently Updated
General

Antenna

Inter-host OpenClaw session messaging over reachable HTTPS using built-in gateway webhook hooks. Use when: (1) sending a message from this OpenClaw instance...

Registry SourceRecently Updated
General

Buffer

Buffer API integration with managed authentication. Schedule and manage social media posts across multiple platforms. Use this skill when users want to sched...

Registry SourceRecently Updated