Loading...
Loading...
Generate or edit images via OpenRouter with the Gemini 3 Pro Image model. Use for prompt-only image generation, image edits, and multi-image compositing; supports 1K/2K/4K output.
npx skill4agent add github/awesome-copilot nano-banana-pro-openroutergoogle/gemini-3-pro-image-previewuv run {baseDir}/scripts/generate_image.py \
--prompt "A cinematic sunset over snow-capped mountains" \
--filename sunset.pnguv run {baseDir}/scripts/generate_image.py \
--prompt "Replace the sky with a dramatic aurora" \
--input-image input.jpg \
--filename aurora.pnguv run {baseDir}/scripts/generate_image.py \
--prompt "Combine the subjects into a single studio portrait" \
--input-image face1.jpg \
--input-image face2.jpg \
--filename composite.png--resolution1K2K4K1Kassets/SYSTEM_TEMPLATE--input-image--filename-1-2MEDIA: <path>| Symptom | Resolution |
|---|---|
| Ask the user to set it. PowerShell: |
| macOS/Linux: <code>curl -LsSf https://astral.sh/uv/install.sh | sh</code>. Windows: <code>powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"</code>. Then restart the terminal. |
| Key is invalid or has no credits. Verify at https://openrouter.ai/settings/keys. |