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/openrouter.md
1# OpenRouter23Read when the user picks `--provider openrouter`. Default model is `google/gemini-3.1-flash-image`.45## Common Models67Use full OpenRouter model IDs:89- `google/gemini-3.1-flash-image` (recommended — supports image output and reference-image workflows)10- `google/gemini-2.5-flash-image-preview`11- `black-forest-labs/flux.2-pro`12- Any other OpenRouter image-capable model ID1314## Behavior Notes1516- OpenRouter image generation uses `/chat/completions`, not the OpenAI `/images` endpoints17- `--ref` requires a multimodal model that supports both image input and image output18- `--imageSize` maps to `imageGenerationOptions.size`19- `--size <WxH>` is converted to the nearest supported OpenRouter size, and the aspect ratio is inferred when possible20