mirror of
https://github.com/JimLiu/baoyu-skills.git
synced 2026-07-12 05:51:44 +08:00
c3cbce9ce3
BREAKING CHANGE: removed `baoyu-imagine` and `baoyu-image-cards`. All functionality now lives under `baoyu-image-gen` and `baoyu-xhs-images` respectively. Cross-skill `## Image Generation Tools` examples updated across baoyu-article-illustrator, baoyu-comic, baoyu-cover-image, baoyu-infographic, and baoyu-slide-deck. Migration: existing `~/.baoyu-skills/baoyu-imagine/EXTEND.md` configs are auto-renamed to `…/baoyu-image-gen/EXTEND.md` on first run via the legacy-path resolver in `scripts/main.ts`.
1.8 KiB
1.8 KiB
Replicate
Read when the user picks --provider replicate. Replicate support is intentionally scoped to model families baoyu-image-gen can validate locally and save without dropping outputs.
Supported Families
google/nano-banana* (default: google/nano-banana-2)
- Supports prompt-only and reference-image generation
- Uses Replicate
aspect_ratio,resolution, andoutput_format --size <WxH>is accepted only as a shorthand for a documentedaspect_ratioplus1K/2K
bytedance/seedream-4.5
- Supports prompt-only and reference-image generation
- Uses Replicate
size,aspect_ratio, andimage_input - Local validation blocks unsupported
1Krequests before the API call
bytedance/seedream-5-lite
- Supports prompt-only and reference-image generation
- Uses Replicate
size,aspect_ratio, andimage_input - Local validation currently accepts
2K/3Konly
wan-video/wan-2.7-image
- Supports prompt-only and reference-image generation
- Uses Replicate
sizeandimages - Max output is 2K
wan-video/wan-2.7-image-pro
- Supports prompt-only and reference-image generation
- Uses Replicate
sizeandimages - 4K is allowed only for text-to-image; local validation blocks
4K + --ref
Guardrails
- Replicate currently supports only single-output save semantics in this tool — keep
--n 1 - If a model is outside the compatibility list above, baoyu-image-gen treats it as prompt-only and rejects advanced local options instead of guessing a nano-banana-style schema
Examples
# Default model
${BUN_X} {baseDir}/scripts/main.ts --prompt "A cat" --image out.png --provider replicate
# Explicit model
${BUN_X} {baseDir}/scripts/main.ts --prompt "A cat" --image out.png --provider replicate --model google/nano-banana