ai-picture-book
The AI picture book tool is provided by Baidu and can generate static and dynamic picture book videos based on the content described by users
от lxyeternal★ 68 звёзд на GitHub
Установить ai-picture-book в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
AI Picture Book Generation
This skill allows OpenClaw agents to generate AI picture book, Based solely on a story or description provided by the user.
Setup
- API Key: Ensure the BAIDU_API_KEY environment variable is set with your valid API key.
- Environment: The API key should be available in the runtime environment.
- BAIDU_API_KEY: BAIDU_API_KEY available, need to go to the baidu cloud platform(https://login.bce.baidu.com) registered account, if you already have account will go to get the API KEY (https://console.bce.baidu.com/qianfan/ais/console/apiKey)
API table
| name | path | description |
|---|---|---|
| AIPictureBookTaskCreate | /v2/tools/ai_picture_book/task_create | Create AI pictrue book task based on a story or description provided by the user |
| AIPictureBookTaskQuery | /v2/tools/ai_note/query | Query AI pictrue book task result based on task id |
Workflow
- The AIPictureBookTaskCreate API executes the Python script located at
scripts/ai_picture_book_task_create.py - The AIPictureBookTaskQuery API executes the Python script located at
scripts/ai_picture_book_task_query.py - The first step ,call the AIPictureBookTaskCreate API to create a task and get the task ID, must give the type of picture book(9 or 10) and a story or description of thing.
- The second step ,call the AIPictureBookTaskQuery API to query the task result based on the task ID.
- Repeat the second step until the task status is completed.The task success identifier is status=2. status=0,1 or 3 indicates that the task is in progress. All other status codes are failures
- Once the task is completed, the result can be found video_bos_url and video_cdn_url in the task query result.
APIS
AIPictureBookTaskCreate API
Parameters
method: Task Type, 9: Create static picture books; 10: Create dynamic picture books (required)content: Story or description (required)
Example Usage
BAIDU_API_KEY=xxx python3 scripts/ai_picture_book_task_create.py 9 "This is a story about a little girl who loves to read books."
AIPictureBookTaskQuery API
Parameters
task_ids: task id from AIPictureBookTaskCreate API return, If multiple task results are queried, the request parameter is the comma-separated task ID (required)
Example Usage
BAIDU_API_KEY=xxx python3 scripts/ai_picture_book_task_query.py "26943ed4-f5a9-4306-a05b-b087665433a0"
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _meta.json
- scripts/ai_picture_book_task_create.py
- scripts/ai_picture_book_task_query.py
FAQ
Что делает скилл ai-picture-book?
The AI picture book tool is provided by Baidu and can generate static and dynamic picture book videos based on the content described by users
Как установить скилл ai-picture-book?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ai-picture-book запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…