jimliu avatar

Baoyu Image Gen

baoyu-image-gen generates images from text prompts using multiple AI providers including OpenAI, Azure OpenAI, Google, OpenRouter, DashScope, MiniMax, Jimeng, Seedream, and Replicate. It serves users who need text-to-image generation with support for reference images, custom aspect ratios, and batch processing capabilities. The skill solves the problem of integrating diverse image generation APIs through a unified interface while managing provider preferences and generation parameters.

skills.sh installs
34.1K
GitHub stars
27.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add jimliu/baoyu-skills --skill baoyu-image-gen --agent claude-code

Installs into .claude/skills of the current project.

Files

Image Generation (AI SDK)

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, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question.
  3. 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; scripts/... paths are relative to it. Main script: {baseDir}/scripts/main.ts. Batch payload helper: {baseDir}/scripts/build-batch.ts. Resolve ${BUN_X}: prefer bun; else npx -y bun; else suggest brew install oven-sh/bun/bun.

Step 0: Load Preferences (blocking)

No image generation until EXTEND.md exists. Check in order; first hit wins:

Sponsors

Details

Repository
github.com/jimliu/baoyu-skills
Categories
AI & Agent Building, Automation & Workflows, Cloud & Infrastructure, Generative Media

More from jimliu/baoyu-skills

All 24
1firecrawl avatarfirecrawl-knowledge-basefirecrawl/firecrawl-workflowsBuild a knowledge base from web content with Firecrawl. Use for local reference docs, RAG-ready chunks, fine-tuning datasets, documentation mirrors, topic corpo32.9Kskills.sh installs
2heygen-com avatargraphic-overlaysheygen-com/hyperframesPackage an existing talking-head / interview / podcast video by layering timed, designed GRAPHIC OVERLAY cards onto the playing video — titles, lower-thirds, da29.1Kskills.sh installs
3google-labs-code avatarstitch-designgoogle-labs-code/stitch-skillsUnified entry point for Stitch design work. Handles prompt enhancement (UI/UX keywords, atmosphere), design system synthesis (.stitch/DESIGN.md), and high-fidel25.1Kskills.sh installs
4vercel avatarnext-dev-loopvercel/next.jsVerify Next.js runtime behavior after editing app code. Use this skill to confirm a change actually works in a running app — not just that it compiles or type-c24.8Kskills.sh installs
5clickhouse avatarclickhouse-best-practicesclickhouse/agent-skillsMUST USE when reviewing ClickHouse schemas, queries, or configurations. Contains 31 rules that MUST be checked before providing recommendations. Always read rel22.7Kskills.sh installs
6tavily-ai avatartavily-best-practicestavily-ai/skillsBuild production-ready Tavily integrations with best practices baked in. Reference documentation for developers using coding assistants (Claude Code, Cursor, et21.5Kskills.sh installs