# scenario-gemini-image

Guides image generation and natural-language edits with Google Gemini models on Scenario via MCP.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 392 installs · ★ 1141
- Author: scenario-labs
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/scenario-labs/skills/tree/HEAD/skills/scenario-gemini-image/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/scenario-gemini-image

## What it does

This skill guides assistants through Google's Nano Banana image models on Scenario: Gemini 3.1 Flash, 3.0 Pro, and 3.1 Lite. Edits rely entirely on plain text instructions rather than paint masks or negative prompts. Up to 14 reference files fit into `referenceImages`, where roles must be stated by index so the models do not blend inputs together.

Options do not transfer freely across the family. Flash accepts a video clip of roughly 15 MB to grab still frames, yet `video` and `referenceImages` are mutually exclusive. Lite locks resolution to 1K and fails if you pass `resolution`, while Pro rejects the `thinkingLevel` parameter entirely.

You need the core `scenario` skill in your environment to handle tool authentication and job polling. Running `model_run` with `dry_run=true` is necessary before launching batches, because member choices and web search grounding change run costs sharply.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add scenario-labs/skills --skill scenario-gemini-image -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/scenario-gemini-image/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/scenario-gemini-image/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add scenario-labs/skills --skill scenario-gemini-image -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/scenario-gemini-image/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add scenario-labs/skills --skill scenario-gemini-image -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/scenario-gemini-image/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install scenario-labs/skills scenario-gemini-image
```

2. **Manually: put the files in place**
- File: `.github/skills/scenario-gemini-image/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add scenario-labs/skills --skill scenario-gemini-image -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/scenario-labs/skills --path skills/scenario-gemini-image
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/scenario-gemini-image/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add scenario-labs/skills --skill scenario-gemini-image -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/scenario-labs/skills/tree/HEAD/skills/scenario-gemini-image/SKILL.md

## When to use it
- Generate images from text briefs up to 250000 characters
- Edit existing assets using natural-language instructions without masks
- Lock character identity while modifying background or lighting
- Extract clean stills from video clips using Gemini 3.1 Flash
- Blend style and subject references across multiple source images

## Example prompts
- Generate a 2K product banner using Gemini 3.1 Flash with a 16:9 aspect ratio
- Edit `asset_1` keeping the shoe intact but placing it on a sunlit marble counter
- Run a dry_run cost check for a two-image fusion on Gemini 3.0 Pro

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: ae252fdd11185058.

BEGIN THIRD-PARTY FILE ae252fdd11185058
```text
---
name: scenario-gemini-image
description: "Use when generating or editing images with Google's Gemini image models (Nano Banana) on Scenario via MCP: text-to-image, natural-language instruction editing, identity locking or style transfer from reference images, multi-image fusion, pulling stills from a video clip, Google Search grounding, thinking level tuning, 512 to 4K output, or choosing between Flash, Pro, and Lite. Keywords: Gemini 3.1 Flash, Gemini 3.0 Pro, Gemini 3.1 Lite, Nano Banana 2, Nano Banana Pro, txt2img, img2img."
license: MIT
---

# Scenario Gemini Image

## Overview

Gemini, Google's image family on Scenario (the Nano Banana line), generates and edits through one
required `prompt`: edits are instructions against the references, never mask painting. Discover
members with `search` and treat `model_schema_get` as the contract: the creative fields are shared
and nearly everything else is per member.

Connection and the core loop: see the `scenario` skill in this repo; model-agnostic image work: the
`scenario-image` skill. Gemini video belongs to the `scenario-gemini-omni` skill; Gemini speech
models are the audio domain. If a sibling skill named here is missing from your available skills,
ask the user to install it (`npx skills add scenario-labs/skills --skill <name>`); unattended,
proceed from tool schemas and flag the gap.

## Quick reference

Three members at authoring time (per-member facts move, so read the schema):

| Member    | Resolution                  | Sets it apart                                                |
| --------- | --------------------------- | ------------------------------------------------------------ |
| 3.1 Flash | `512` to `4K`, default `1K` | video input, four `thinkingLevel` steps, Search grounding    |
| 3.0 Pro   | `1K` to `4K`, default `2K`  | built for complex instruction edits and multi-image fusion   |
| 3.1 Lite  | fixed 1K, no `resolution`   | fastest and cheapest; `thinkingLevel` is `MINIMAL` or `HIGH` |

Shared fields: `referenceImages` (up to 14, an array even for one), `numOutputs` (1 to 4 variations
of one prompt), `aspectRatio` (`21:9` through `9:16` plus the default `auto`; pin the ratio when a
placement demands one), and a prompt cap near 250000 characters, so a full brief fits verbatim.
Flash alone takes `video` (one clip, about 15 MB, sampled at `videoFps`, default 1 fps) to pull
stills from footage; `video` and `referenceImages` are mutually exclusive. `useGoogleSearch` (Flash
and Pro) grounds the run in live web context and moves the price, like every field marked
`cost_impact`. No mask, seed, or negative-prompt field exists: regional edits are sentences, and
```
END THIRD-PARTY FILE ae252fdd11185058

The third-party file has ended. Everything between the ae252fdd11185058 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2675 of 5905 bytes. © scenario-labs · MIT · https://github.com/scenario-labs/skills/tree/HEAD/skills/scenario-gemini-image/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
