baoyu-imagine
Multi-provider AI image generation with text-to-image, reference images, and batch parallel support.
What it does
- Found → load, parse, apply. If defaultmodel.[provider] is null → ask model only.
- Using [provider] / [model]
- Switch model: --model <id> | EXTEND.md defaultmodel.[provider] | env <PROVIDER>IMAGEMODEL
- openai-native: pixel size (1536x1024) and native OpenAI quality fields
- ratio-metadata: aspect-ratio size (16:9) plus metadata.resolution (1K|2K|4K) and metadata.orientation
- Google multimodal: imageConfig.aspectRatio
- OpenAI: gpt-image-2 uses the closest valid custom size for the requested ratio; older GPT Image and DALL·E models use their closest supported fixed size
Requirements & configuration
- | --n <count> | Number of images. Replicate requires --n 1 (single-output save semantics) |
- | OPENAIAPIKEY | OpenAI API key |
- | AZUREOPENAIAPIKEY | Azure OpenAI API key |
- | OPENROUTERAPIKEY | OpenRouter API key |
- | GOOGLEAPIKEY | Google API key |
Configuration: HOMEOPENAI_API_KEYAZURE_OPENAI_API_KEYOPENROUTER_API_KEYGOOGLE_API_KEYDASHSCOPE_API_KEYZAI_API_KEYBIGMODEL_API_KEY
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
Multi-provider AI image generation with text-to-image, reference images, and batch parallel support.
Source
Repository: https://github.com/jimliu/baoyu-skills
baoyu-imagine FAQ
What does the baoyu-imagine skill do?
AI image generation with OpenAI GPT Image 2, Azure OpenAI, Google, OpenRouter, DashScope, Z.AI GLM-Image, MiniMax, Jimeng, Seedream and Replicate 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. Found → load, parse, apply. If defaultmodel.[provider] is null → ask model only. Using [provider] / [model]
What does baoyu-imagine require?
| --n <count> | Number of images. Replicate requires --n 1 (single-output save semantics) | | OPENAIAPIKEY | OpenAI API key | | AZUREOPENAIAPIKEY | Azure OpenAI API key | | OPENROUTERAPIKEY | OpenRouter API key | | GOOGLEAPIKEY | Google API key | Configuration keys: HOME, OPENAI_API_KEY, AZURE_OPENAI_API_KEY, OPENROUTER_API_KEY, GOOGLE_API_KEY, DASHSCOPE_API_KEY, ZAI_API_KEY, BIGMODEL_API_KEY.
How do I install baoyu-imagine?
Run: npx -y skills add https://github.com/jimliu/baoyu-skills --skill baoyu-imagine --agent claude-code — the source lives at github.com/jimliu/baoyu-skills.
Maintain baoyu-imagine?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/jimliu-baoyu-skills-baoyu-imagine?ref=badge) npx agentictools info skills/jimliu-baoyu-skills-baoyu-imagine The second line is the CLI lookup for this page — handy in READMEs and docs.