baoyu-image-gen

Generate images from saved prompts across many AI image providers.

Install

See the repository for setup

What it does

This skill adds AI image generation to an agent runtime, turning text prompts or prompt files into image files. It covers text-to-image, reference-image input, aspect ratios, quality presets, and batch runs driven by a JSON payload or an outline plus prompts directory; batch generation can run several jobs in parallel while single images are sequential by default. It is intended for people who already hold API credentials for services such as OpenAI, Azure OpenAI, Google, OpenRouter, DashScope, Z.AI, MiniMax, Jimeng, Seedream, or Replicate, and who want one command interface across them.

Setup is the main hurdle. Before any image is made, a preferences file (EXTEND.md) must exist at project, XDG, or home scope, and first use triggers an interactive setup for provider, model, quality, and save location. The script runs through Bun or npx and reads keys from environment variables or dotenv files, with provider and model overridable by CLI flags. A Codex CLI provider can use an existing Codex login instead of an API key.

Limitations: reference images are unsupported by several providers and models, including Jimeng, Seedream 3.0, and DashScope models outside the wan2.7-image family; Replicate output is limited to one image per call; and a ChatGPT or Codex OAuth token cannot substitute for an OpenAI API key on the standard OpenAI provider.

Skill files

  • SKILL.md

Repository data

Stars
27,823
Last push
Nov 20, 2026
License
MIT
Archived
No

Tools similar to baoyu-image-gen

FAQ

What license does baoyu-image-gen use?
MIT
What files are included with baoyu-image-gen?
SKILL.md

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/skills/baoyu-image-gen"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options