skillfed

baoyu-image-gen

Generate images from text prompts using your choice of 11+ AI providers including OpenAI GPT Image 2, Google, Azure, and DashScope. Supports reference images for identity preservation, custom aspect ratios, batch processing, and prompt files. Configure your default provider and model once, then generate single or multiple images with flexible quality and size options.

baoyu-image-gen generates images from text prompts across OpenAI, Google, Azure, and 8+ other AI providers.

AI-generated summary based on this skill's SKILL.md

24,241 2,697 MIT updated by JimLiu

Install

JimLiu/baoyu-skills/baoyu-image-gen · repository language: TypeScript

git clone https://github.com/JimLiu/baoyu-skills
cp -r baoyu-skills/skills/baoyu-image-gen ~/.claude/skills/baoyu-image-gen
npx skillfed install JimLiu/baoyu-skills/baoyu-image-gen

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What is baoyu-image-gen and what can it do?

baoyu-image-gen is an image generation tool that lets you create pictures from text prompts using your choice of 11+ AI providers including OpenAI GPT Image 2, Google, Azure, and DashScope. It supports reference images for identity preservation, custom aspect ratios, batch processing, and prompt files. Configure your default provider and model once, then generate single or multiple images with flexible quality and size options.

Can baoyu-image-gen generate images with AI from multiple providers?

Yes. baoyu-image-gen supports 11+ AI providers including OpenAI, Google Gemini, Azure OpenAI, DashScope Qwen, and OpenRouter. You can configure your default provider and model once, then switch between different providers and models as needed for each generation task.

Does baoyu-image-gen support batch image generation from prompts?

Yes. baoyu-image-gen supports batch image generation with parallel processing, allowing you to create multiple images efficiently. You can use prompt files to define multiple generation tasks and process them in parallel across your chosen AI provider.

How does baoyu-image-gen handle reference image editing?

baoyu-image-gen supports reference image editing, enabling you to modify or edit images using reference images and text prompts. This feature helps with identity preservation and allows you to guide the generation process based on existing images.

What aspect ratio and quality options does baoyu-image-gen offer?

baoyu-image-gen lets you generate images with specific aspect ratios and quality settings. You can customize size and quality parameters for each generation, giving you control over the output dimensions and visual fidelity of your generated images.

Is baoyu-image-gen open source and what license does it use?

Yes. baoyu-image-gen is released under the MIT license, making it open source and freely available for both personal and commercial use with minimal restrictions.

SKILL.md

rendered from the published skill — quoted content, verbatim

Image Generation (AI SDK)

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.

User Input Tools

When this skill prompts the user, follow this tool-selection rule (priority order):

  1. Prefer built-in user-input tools exposed by the current agent runtime — e.g., AskUserQuestion, request_user_input, clarify, ask_user, or any equivalent.
  2. Fallback: if no such tool exists,

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 15 files
skills/baoyu-image-gen/SKILL.md
skills/baoyu-image-gen/references/codex-image2-fallback.md
skills/baoyu-image-gen/references/codex-oauth-vs-openai-api-key.md
skills/baoyu-image-gen/references/config/first-time-setup.md
skills/baoyu-image-gen/references/config/preferences-schema.md
skills/baoyu-image-gen/references/providers/agnes.md
skills/baoyu-image-gen/references/providers/codex-cli.md
skills/baoyu-image-gen/references/providers/dashscope.md
skills/baoyu-image-gen/references/providers/minimax.md
skills/baoyu-image-gen/references/providers/openrouter.md
skills/baoyu-image-gen/references/providers/replicate.md
skills/baoyu-image-gen/references/providers/zai.md
skills/baoyu-image-gen/references/usage-examples.md
skills/baoyu-image-gen/scripts/build-batch.test.ts
skills/baoyu-image-gen/scripts/build-batch.ts

Related skills

Tags

multi-provider-support batch-processing reference-image-editing aspect-ratio-control api-abstraction parallel-generation prompt-file-input identity-preservation quality-presets concurrent-workers