openakita/skills@baidu-picture-book

Generates picture book stories with page-by-page text and illustration descriptions via Baidu Qianfan AppBuilder.

2.0k|274|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/openakita/openakita --skill openakita-skills-baidu-picture-book
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openakita/skills@baidu-picture-book
Source: https://github.com/openakita/openakita/tree/main/skills/baidu-picture-book
Command: npx skills add https://github.com/openakita/openakita --skill openakita-skills-baidu-picture-book

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Turning a short story idea into a structured picture book with coherent page-by-page text and matching illustration concepts normally requires both writing and visual planning effort. This Skill automates that transformation using Baidu Qianfan AppBuilder.

Core Features & Use Cases

  • Text-to-Picture-Book Generation: Convert a short story description into a multi-page picture book with narrative text and visual composition descriptions for each page.
  • Style and Audience Control: Specify drawing style (watercolor, cartoon, flat, realistic), page count, and target age group (toddler, preschool, elementary).
  • Use Case: A parent or educator provides the prompt "a little rabbit looking for its mother" and receives a complete picture book script with per-page text and illustration descriptions ready for an illustrator or image generator.

Quick Start

Set the BAIDU_API_KEY environment variable, then ask the agent to generate a picture book about a little rabbit looking for its mother in watercolor style.

Frequently Asked Questions about openakita/skills@baidu-picture-book

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a picture book from a text description?

Run the picture_book.py script with the generate command followed by your story description, for example: python3 scripts/picture_book.py generate "a rabbit looking for its mother". The script sends the request to Baidu Qianfan AppBuilder and returns page-by-page text with illustration descriptions.

What art styles does the picture book generator support?

The script supports four drawing styles: watercolor, cartoon, flat, and realistic. Pass the desired style with the --style flag when running the generate command.

What credentials are required for Baidu AppBuilder picture book generation?

You need to set the BAIDU_API_KEY environment variable as stated in the skill configuration, and the script also requires an APPBUILDER_TOKEN for the Baidu Qianfan AppBuilder API. Without these credentials the generation request will fail.

Can I specify the target age group for the picture book?

Yes, the --audience flag accepts toddler, preschool, or elementary values. The chosen audience is appended to the generation query so the story content and complexity match the intended readers.

Why does the picture book script fail with an authentication error?

Authentication failures occur when BAIDU_API_KEY or APPBUILDER_TOKEN is missing or invalid. Verify both environment variables are exported in your shell before running the generate command.