Children's Picture Book Generator
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_50478668/children-picture.
About this skill
Problem
Creating children's picture books often requires turning story text into consistent illustrations, while calling a text-to-image API directly can get tangled in parameter assembly, secret handling, output decoding, and resolution constraints. This skill wraps Baidu ERNIE-Image-Turbo through an OpenAI-compatible endpoint into a command-line script, so an engineer or agent can generate a single PNG with one explicit command.
How It Works And Limits
The flow parses --prompt, --filename, optional --resolution, and optional --api-key; then calls Baidu AI Studio using the openai SDK and writes the b64_json payload to disk. It supports seven preset resolutions, defaults to 1024x1024, and covers landscape, portrait, and phone-wallpaper aspect ratios. The prompt strategy is pass-through first, which fits clear descriptions of characters, scenes, composition, and Chinese text such as titles, placement, and font style. Current limits include single-image output only, no built-in batching, progress, callback, or image metadata; --api-key may be visible in process lists, so environment variables are safer; and existing files with the same output path are overwritten.
Use Cases
- Generate a 1024x1024 square bedtime-story cover and specify the title text, placement, and font style in the prompt.
- Create a 1376x768 landscape illustration for a story lesson page, emphasizing the protagonist and scene elements.
- Produce a 768x1376 portrait picture-book page and save the single story scene as a PNG file.
- Create a story-card illustration with Chinese lettering by specifying text content, font style, and top-centered placement.
Best For
- Children's content editors who need to turn story text into a single cover or interior illustration with controlled Chinese lettering.
- Courseware designers who need landscape or portrait picture-book scenes for classroom story materials.
- Independent creators who need saveable PNG illustrations for bedtime story cards without manual API calls.
- Agent engineers who need a command-line image generation step with explicit output paths in automation workflows.
Related Skills
A ComfyUI image-generation skill that uses a five-step dialog to collect prompts, prefill templates, confirm parameters, submit API jobs, and return results.
A design-system guidance skill for Impeccable that produces token-based rules, component states, accessibility criteria, and QA checklists.
Director-level video lapian that diagnoses material precision, then produces frame evidence, director analysis, a style bible, and a showcase video.
Plan and brief Amazon MAIN, Listing, and A+ image sets from verified product facts, then return plan and image QA status.