Baoyu Image Gen
AI image generation through OpenAI, Google, DashScope, Replicate, and xheai APIs with reference-image and aspect-ratio support.
- CCM score
- 46 of 100
- skills.sh installs
- 181
- GitHub stars
- 105
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers text-to-image generation, reference-image editing, aspect ratios, and quality presets from
normalto2k - Includes a
main.tsscript with flags for provider, model, size, batch count, prompt files, and JSON output - Enforces a blocking first-time setup that saves provider, model, and quality defaults to
EXTEND.mdbefore any generation - Designed for agents that need to generate, create, or draw images from prompts across multiple API providers
Install
$ npx -y skills add xy121718/baoyu-skills --skill baoyu-image-gen -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Image Generation (AI SDK)
Official API-based image generation. Supports OpenAI, Google, DashScope (阿里通义万象), Replicate, and xheai (中转站) providers.
Script Directory
Agent Execution:
SKILL_DIR= this SKILL.md file's directory- Script path =
${SKILL_DIR}/scripts/main.ts
Step 0: Load Preferences ⛔ BLOCKING
CRITICAL: This step MUST complete BEFORE any image generation. Do NOT skip or defer.
Check EXTEND.md existence (priority: project → user):
test -f .baoyu-skills/baoyu-image-gen/EXTEND.md && echo "project"
test -f "$HOME/.baoyu-skills/baoyu-image-gen/EXTEND.md" && echo "user"
| Result | Action |
|---|---|
| Found | Load, parse, apply settings. If default_model.[provider] is null → ask model only (Flow 2) |
| Not found | ⛔ Run first-time setup (references/config/first-time-setup.md) → Save EXTEND.md → Then continue |
CRITICAL: If not found, complete the full setup (provider + model + quality + save location) using AskUserQuestion BEFORE generating any images. Generation is BLOCKED until EXTEND.md is created.
Details
- Repository
- github.com/xy121718/baoyu-skills
- Category
- AI Image, Video & Voice
- First seen
- Jun 3, 2026
Questions
What does the baoyu-image-gen skill do?
baoyu-image-gen generates images from text prompts through the OpenAI, Google, DashScope and Replicate APIs. It supports reference images and aspect ratios, and it runs sequentially by default, with parallel generation available on request.
How do I install the baoyu-image-gen skill?
Run npx -y skills add xy121718/baoyu-skills --skill baoyu-image-gen -y in your project to install baoyu-image-gen. Once installed, the agent can generate, create or draw images when you ask for them.
What API keys does baoyu-image-gen need?
baoyu-image-gen reads API keys from environment variables, including OPENAI_API_KEY, GOOGLE_API_KEY, DASHSCOPE_API_KEY and REPLICATE_API_TOKEN. You only need the key for the provider you plan to use, and the skill auto-selects a provider when only one key is set.
Where does baoyu-image-gen sit among AI image generation skills?
baoyu-image-gen is in the AI Image, Video & Voice category on Claude Marketplaces. Its category peers include ai-video-generation, ai-image-generation and kling-3-0, and this skill is focused on API-based image generation with reference images.
More from xy121718/baoyu-skills
All 2Similar to Baoyu Image Gen
More AI Image, Video & Voiceimage-genSkillmarswaveai/skills1.2K installsGenerate AI images from text prompts with optional reference images and selectable model, resolution, and aspect ratio.
gpt-image-2Skillruncomfy-com/skills274.8K installsImage generation and editing with OpenAI GPT Image 2, prioritizing embedded text, logos, and multilingual typography precision.
Mcp ImageMCP servershinpr197 starsGenerates and edits images via Gemini, OpenAI, or BytePlus Seedream, with optional prompt enhancement.
qianwen-image-generationSkillqianwen-ai/qianwen-ai6.7K installsGenerate and edit images with Wan and Qwen Image models, including text-to-image and interleaved text-image output.