ERNIE-Image Text-to-Image Skill: Calling the Baidu ERNIE Image API in an Agent

The ERNIE-Image text-to-image skill (@user_50478668/ernie-image, v1.0.2) is a design-media category skill in the SkillHub community. It wraps Baidu's ERNIE-Image-Turbo text-to-image model via SKILL.md and generate_image.py, leveraging the OpenAI-compatible endpoint at aistudio.baidu.com/llm/lmapi/v3, supporting seven resolution options, with API key authentication via environment variable or the --api-key flag. The article covers SkillHub CLI installation, the skills directory structure for various Agents, and typical Python invocation examples, while noting that the --input-image image editing capability mentioned in the v1.0.2 description has not yet been implemented in the corresponding script.

Read More
Children's Picture Book Generator: Transforming Story Scenes into ERNIE-Image Illustrations with Agent Skill

The Children's Picture Book Generator is a SkillHub community Skill (@user_50478668/children-picture, v1.0.0, design-media/Image Generation) that encapsulates Baidu Wenxin ERNIE-Image-Turbo text-to-image capabilities and the scripts/generate_image.py script. This article details the workflow for story page breakdown and image generation, seven resolution options, API Key environment variables, and installation methods via CLI/ZIP. It provides Cursor skills directory installation commands and official script examples, while highlighting the requires_api_key requirement, security scan discrepancies, and single-image invocation limits.

Read More