From 36b9c5e1974a29448cdee174affd36d1b50ad1cf Mon Sep 17 00:00:00 2001 From: justnodejs Date: Tue, 24 Feb 2026 23:25:38 +0800 Subject: [PATCH] docs(baoyu-image-gen): add replicate model configuration documentation --- skills/baoyu-image-gen/SKILL.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/skills/baoyu-image-gen/SKILL.md b/skills/baoyu-image-gen/SKILL.md index d4730ff..4ef6fff 100644 --- a/skills/baoyu-image-gen/SKILL.md +++ b/skills/baoyu-image-gen/SKILL.md @@ -115,6 +115,30 @@ npx -y bun ${SKILL_DIR}/scripts/main.ts --prompt "A cat" --image out.png --provi **Load Priority**: CLI args > EXTEND.md > env vars > `/.baoyu-skills/.env` > `~/.baoyu-skills/.env` +## Replicate Model Configuration + +When using `--provider replicate`, the model can be configured in the following ways (highest priority first): + +1. CLI flag: `--model ` +2. EXTEND.md: `default_model.replicate` +3. Env var: `REPLICATE_IMAGE_MODEL` +4. Built-in default: `google/nano-banana-pro` + +Supported model formats: + +- `owner/name` (recommended for official models), e.g. `google/nano-banana-pro` +- `owner/name:version` (community models by version), e.g. `stability-ai/sdxl:` + +Examples: + +```bash +# Use Replicate default model +npx -y bun ${SKILL_DIR}/scripts/main.ts --prompt "A cat" --image out.png --provider replicate + +# Override model explicitly +npx -y bun ${SKILL_DIR}/scripts/main.ts --prompt "A cat" --image out.png --provider replicate --model google/nano-banana +``` + ## Provider Selection 1. `--ref` provided + no `--provider` → auto-select Google first, then OpenAI, then Replicate