baoyu-image-gen

by JimLiu 25k MIT Updated Jul 4, 2026
baoyu-image-gen skill by JimLiu
baoyu-image-gen — Design skill by JimLiu

baoyu-image-gen is an open-source design skill for Claude Code and compatible agents, published by JimLiu. Its author describes it as: “AI image generation with OpenAI GPT Image 2, Azure OpenAI, Google, OpenRouter, DashScope, Z.AI GLM-Image, MiniMax, Jimeng, Seedream, Replicate and Agnes APIs. Supports text-to-image, reference images, aspect ratios, a…”. The project has 25k stars on GitHub and is available under the MIT license. Add it to your setup with `/plugin marketplace add JimLiu/baoyu-skills`.

What baoyu-image-gen does

Official API-based image generation. Supports OpenAI GPT Image 2, Azure OpenAI, Google, OpenRouter, DashScope (阿里通义万象), Z.AI GLM-Image, MiniMax, Jimeng (即梦), Seedream (豆包), Replicate and Agnes.

Installation

Add baoyu-image-gen to your agent with:

/plugin marketplace add JimLiu/baoyu-skills

Always review a skill's source before installing it. This command comes from the skill's public repository; the linked repo is the source of truth for exact setup steps.

What's inside

The SKILL.md for baoyu-image-gen is organised into these sections:

  • User Input Tools
  • Script Directory
  • Step 0: Load Preferences ⛔ BLOCKING
  • Usage
  • Identity-preserving reference prompts
  • Reference-Image Identity Preservation
  • Options
  • Environment Variables
  • Codex/ChatGPT OAuth is not an OpenAI API key
  • Model Resolution
  • OpenAI-Compatible Gateway Dialects
  • Provider-Specific Guides

When to use it

Reach for baoyu-image-gen when you want design help from your agent without writing the same instructions every session. Load the skill and the agent picks it up automatically for relevant tasks.

Strengths

  • Clear MIT license — safe to read and adapt
  • Ships in JimLiu/baoyu-skills, an established project with 25,129 GitHub stars
  • Actively maintained (recent commits)

Topics

agent-skillsclaude-skillscodex-skillsopenclaw-skills

Frequently asked questions

What does baoyu-image-gen do?
AI image generation with OpenAI GPT Image 2, Azure OpenAI, Google, OpenRouter, DashScope, Z.AI GLM-Image, MiniMax, Jimeng, Seedream, Replicate and Agnes APIs. Supports text-to-image, reference images, aspect ratios, and batch generation from saved prompt files. Sequential by default; use batch parallel generation when the user already has multiple prompts or wants stable multi-image throughput. Use when user asks to generate, create, or draw images.
How do I install baoyu-image-gen?
Run /plugin marketplace add JimLiu/baoyu-skills in your agent, then reload your skills. Review the source at https://github.com/JimLiu/baoyu-skills before installing.
Is baoyu-image-gen free to use?
Yes. baoyu-image-gen is free and open source under the MIT license, so you can read, run, and adapt it within that license's terms.
Where does baoyu-image-gen come from?
baoyu-image-gen ships inside JimLiu/baoyu-skills, a repository that contains 23 catalogued skills in total. The repository's 25,129 GitHub stars apply to that whole collection, not to this skill on its own.

Related skills

More Design →

Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style × Palette three-dimension approach. Use when user asks to "illustrate article", "add images", "generate images for article", or "为文章配图".

25k JimLiu MIT

Knowledge comic creator supporting multiple art styles and tones. Creates original educational comics with detailed panel layouts and batch-capable image generation. Use when user asks to create "知识漫画", "教育漫画", "biography comic", "tutorial comic", or "Logicomix-style comic".

25k JimLiu MIT

Compresses images to WebP (default) or PNG with automatic tool selection. Use when user asks to "compress image", "optimize image", "convert to webp", or reduce image file size.

25k JimLiu MIT

Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 11 color palettes and 7 rendering styles. Supports cinematic (2.35:1), widescreen (16:9), and square (1:1) aspects. Use when user asks to "generate cover image", "create article cover", or "make cover".

25k JimLiu MIT

Create professional, dark-themed SVG diagrams of any type — architecture diagrams, flowcharts, sequence diagrams, structural diagrams, mind maps, timelines, illustrative/conceptual diagrams, and more. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system, process flow, data flow, component relationship, network topology, decision tree, org chart, state machine, or any visual representation of structure/logic/process. Also trigger when the user says "画个图" "画一个架构图" "diagram" "flowchart" "sequence diagram" "draw me a ..." or uploads content and asks to visualize it. Output is always a standalone .svg file.

25k JimLiu MIT