# baoyu-image-gen

> Claude/Codex skill by [@jimliu](https://omgskills.com/library/jimliu/index.md) · 27k stars · Updated 2026-09-10

AI image generation with OpenAI GPT Image 2.5, 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.

Tags: agent-skills, claude-skills, codex-skills, openclaw-skills

## Install

```sh
git clone https://github.com/JimLiu/baoyu-skills /tmp/baoyu-skills && ln -s /tmp/baoyu-skills/skills/baoyu-image-gen ~/.claude/skills/baoyu-image-gen
```

## From README

Image Generation (AI SDK) Official API-based image generation. Supports OpenAI GPT Image 2.5, Azure OpenAI, Google, OpenRouter, DashScope (阿里通义万象), Z.AI GLM-Image, MiniMax, Jimeng (即梦), Seedream (豆包), Replicate and Agnes. User Input Tools When this skill prompts the user, follow this tool-selection rule (priority order): Prefer built-in user-input tools exposed by the current agent runtime — e.g., AskUserQuestion, requestuserinput, clarify, askuser, or any equivalent. Fallback: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question. Batching: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order. Concrete AskUserQuestion references below are examples — substitute the local equivalent in other runtimes. Script Directory {baseDir} = this SKILL.md's directory. All scripts/...

## Links

- HTML page: https://omgskills.com/skills/jimliu/baoyu-skills/baoyu-image-gen/
- GitHub: https://github.com/JimLiu/baoyu-skills
- Author: [@jimliu](https://omgskills.com/library/jimliu/index.md)

## More from this repo

- [baoyu-post-to-wechat](https://omgskills.com/skills/jimliu/baoyu-skills/baoyu-post-to-wechat/index.md) — Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP.
   - [@jimliu](https://omgskills.com/library/jimliu/index.md) · 27k stars
- [baoyu-article-illustrator](https://omgskills.com/skills/jimliu/baoyu-skills/baoyu-article-illustrator/index.md) — Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style ×...
   - [@jimliu](https://omgskills.com/library/jimliu/index.md) · 27k stars
- [baoyu-comic](https://omgskills.com/skills/jimliu/baoyu-skills/baoyu-comic/index.md) — Knowledge comic creator supporting multiple art styles and tones.
   - [@jimliu](https://omgskills.com/library/jimliu/index.md) · 27k stars
