
Baoyu Image Gen
Run first-time setup for Baoyu image generation—pick Google Gemini or OpenAI and persist defaults in EXTEND.md before generating assets in the agent.
Overview
Baoyu Image Gen is an agent skill for the Build phase that configures default image providers and models via EXTEND.md before you generate assets.
Install
npx skills add https://github.com/ideacco/baoyu-skills-openclaw --skill baoyu-image-genWhat is this skill?
- Two-path setup: full provider + model + preferences when EXTEND.md is missing, or model-only when provider is already sa
- Single AskUserQuestion call batches all first-time questions to reduce setup friction
- Default provider options include Google Gemini multimodal (recommended) and OpenAI GPT Image with described tradeoffs
- Writes or updates EXTEND.md so later image-gen runs skip redundant prompts
- Two setup flows: full setup without EXTEND.md versus model-only when provider config already exists
Adoption & trust: 1 installs on skills.sh; 12 GitHub stars; 2/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
What problem does it solve?
You opened the image-gen skill but have no saved provider or model defaults, so every run stalls on interactive setup.
Who is it for?
Solo builders standardizing on Gemini or OpenAI image APIs inside a Baoyu/OpenClaw agent repo.
Skip if: Teams that manage image models only in a central MLOps console with no per-repo EXTEND.md pattern.
When should I use this skill?
Triggered when no EXTEND.md is found (full setup) or EXTEND.md exists but default_model for the provider is null (model selection only).
What do I get? / Deliverables
EXTEND.md stores your Google or OpenAI defaults so subsequent image generation continues without repeating full onboarding.
- EXTEND.md created or updated with default provider and model preferences
- Completed first-time or model-only AskUserQuestion setup flow
Recommended Skills
Journey fit
Image provider wiring is a Build-time integration step once you are producing visuals for the product or marketing pipeline. Integrations is the canonical shelf because the skill configures external image APIs and default models, not front-end layout or copy alone.
How it compares
Skill-side provider onboarding, not a hosted image CDN or standalone design app.
Common Questions / FAQ
Who is baoyu-image-gen for?
Indie builders using Baoyu skills on OpenClaw who need a one-time (or model-only) setup before automated image generation from their coding agent.
When should I use baoyu-image-gen?
At the start of Build integrations when adding AI image output, or the first time you invoke generation and EXTEND.md or default_model is missing.
Is baoyu-image-gen safe to install?
Setup touches provider choice and local EXTEND.md only; confirm API key handling in your environment and review the Security Audits panel on this Prism page.
SKILL.md
READMESKILL.md - Baoyu Image Gen
# First-Time Setup ## Overview Triggered when: 1. No EXTEND.md found → full setup (provider + model + preferences) 2. EXTEND.md found but `default_model.[provider]` is null → model selection only ## Setup Flow ``` No EXTEND.md found EXTEND.md found, model null │ │ ▼ ▼ ┌─────────────────────┐ ┌──────────────────────┐ │ AskUserQuestion │ │ AskUserQuestion │ │ (full setup) │ │ (model only) │ └─────────────────────┘ └──────────────────────┘ │ │ ▼ ▼ ┌─────────────────────┐ ┌──────────────────────┐ │ Create EXTEND.md │ │ Update EXTEND.md │ └─────────────────────┘ └──────────────────────┘ │ │ ▼ ▼ Continue Continue ``` ## Flow 1: No EXTEND.md (Full Setup) **Language**: Use user's input language or saved language preference. Use AskUserQuestion with ALL questions in ONE call: ### Question 1: Default Provider ```yaml header: "Provider" question: "Default image generation provider?" options: - label: "Google (Recommended)" description: "Gemini multimodal - high quality, reference images, flexible sizes" - label: "OpenAI" description: "GPT Image - consistent quality, reliable output" - label: "DashScope" description: "Alibaba Cloud - z-image-turbo, good for Chinese content" - label: "Replicate" description: "Community models - nano-banana-pro, flexible model selection" ``` ### Question 2: Default Google Model Only show if user selected Google or auto-detect (no explicit provider). ```yaml header: "Google Model" question: "Default Google image generation model?" options: - label: "gemini-3-pro-image-preview (Recommended)" description: "Highest quality, best for production use" - label: "gemini-3.1-flash-image-preview" description: "Fast generation, good quality, lower cost" - label: "gemini-3-flash-preview" description: "Fast generation, balanced quality and speed" ``` ### Question 3: Default Quality ```yaml header: "Quality" question: "Default image quality?" options: - label: "2k (Recommended)" description: "2048px - covers, illustrations, infographics" - label: "normal" description: "1024px - quick previews, drafts" ``` ### Question 4: Save Location ```yaml header: "Save" question: "Where to save preferences?" options: - label: "Project (Recommended)" description: ".baoyu-skills/ (this project only)" - label: "User" description: "~/.baoyu-skills/ (all projects)" ``` ### Save Locations | Choice | Path | Scope | |--------|------|-------| | Project | `.baoyu-skills/baoyu-image-gen/EXTEND.md` | Current project | | User | `$HOME/.baoyu-skills/baoyu-image-gen/EXTEND.md` | All projects | ### EXTEND.md Template ```yaml --- version: 1 default_provider: [selected provider or null] default_quality: [selected quality] default_aspect_ratio: null default_image_size: null default_model: google: [selected google model or null] openai: null dashscope: null replicate: null --- ``` ## Flow 2: EXTEND.md Exists, Model Null When EXTEND.md exists but `default_model.[current_provider]` is null, ask ONLY the model question for the current provider. ### Google Model Selection ```yaml header: "Google Model" question: "Choose a default Google image generation model?" options: - label: "gemini-3-pro-image-preview (Recommended)" description: "Highest quality, best for production use" - label: "gemini-3.1-flash-image-preview" description: "Fast generation, good quality, lower cost" - label: "gemini-3-flash-preview" description: "Fast generation, balanced quality and speed" ``` ### OpenAI Model Selection ```yaml header: "OpenAI Model" question: "Choo