Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Generate images via OpenAI, Google, OpenRouter, DashScope, Jimeng, Seedream, and Replicate APIs with batch support.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/providers/replicate.md
1# Replicate23Read when the user picks `--provider replicate`. Replicate support is intentionally scoped to model families baoyu-imagine can validate locally and save without dropping outputs.45## Supported Families67**`google/nano-banana*`** (default: `google/nano-banana-2`)89- Supports prompt-only and reference-image generation10- Uses Replicate `aspect_ratio`, `resolution`, and `output_format`11- `--size <WxH>` is accepted only as a shorthand for a documented `aspect_ratio` plus `1K` / `2K`1213**`bytedance/seedream-4.5`**1415- Supports prompt-only and reference-image generation16- Uses Replicate `size`, `aspect_ratio`, and `image_input`17- Local validation blocks unsupported `1K` requests before the API call1819**`bytedance/seedream-5-lite`**2021- Supports prompt-only and reference-image generation22- Uses Replicate `size`, `aspect_ratio`, and `image_input`23- Local validation currently accepts `2K` / `3K` only2425**`wan-video/wan-2.7-image`**2627- Supports prompt-only and reference-image generation28- Uses Replicate `size` and `images`29- Max output is 2K3031**`wan-video/wan-2.7-image-pro`**3233- Supports prompt-only and reference-image generation34- Uses Replicate `size` and `images`35- 4K is allowed only for text-to-image; local validation blocks `4K + --ref`3637## Guardrails3839- Replicate currently supports only single-output save semantics in this tool — keep `--n 1`40- If a model is outside the compatibility list above, baoyu-imagine treats it as prompt-only and rejects advanced local options instead of guessing a nano-banana-style schema4142## Examples4344```bash45# Default model46${BUN_X} {baseDir}/scripts/main.ts --prompt "A cat" --image out.png --provider replicate4748# Explicit model49${BUN_X} {baseDir}/scripts/main.ts --prompt "A cat" --image out.png --provider replicate --model google/nano-banana50```51