Skip to main content
skill CX Codex

scenario-gemini-image — Claude Code skill: features and setup

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add scenario-labs/skills --skill scenario-gemini-image -a claude-code
Open on GitHub

What scenario-gemini-image 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.

What it helps with

  • 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 for the agent

  • 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

How to install scenario-gemini-image

1Skills CLI (Vercel)

npx skills add scenario-labs/skills --skill scenario-gemini-image -a claude-code

2Manually: put the files in place

~/.claude/skills/scenario-gemini-image/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/scenario-gemini-image/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about scenario-gemini-image

How to install scenario-gemini-image in Claude Code?

Run npx skills add scenario-labs/skills --skill scenario-gemini-image -a claude-code.

What does scenario-gemini-image do?

It teaches coding agents how to invoke Gemini Nano Banana image models on Scenario via MCP. It covers prompt formatting, reference image mapping, and parameter constraints across Flash, Pro, and Lite.

Can I use seeds or negative prompts with Gemini image models?

Neither seeds nor negative prompts exist on these models. Regional adjustments require descriptive sentences detailing what to retain, and reruns produce variations rather than exact repeats.

Source text

SKILL.md · MIT
---
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
reruns give variations, not reproductions.

## Write instructions, not tags

Describe subject, setting, and style in plain sentences. For edits, state the change and what must
survive it: "keep the shoe's shape, colors, and branding unchanged; place it on a sunlit deck". With
several references, assign roles by position ("image 1 is the character's face, image 2 the outfit,
image 3 the background style"); unassigned references blur together. Lock identity explicitly: say
the features must be preserved while pose, lighting, or scene changes. Quote in-image copy exactly
and say where each block sits ("the title reads 'LUMEN', top third"); unquoted wording is treated as
a theme to depict, not copy to render. When one word keeps mangling, do not rerun the design: pass
the keeper in `referenceImages` and spell the word letter by letter ("the title reads 'LUMEN',
spelled L, U, M, E, N"), changing nothing else. On Flash and Lite, `thinkingLevel` defaults to
`HIGH`, the careful setting; drop to `MINIMAL` for speed on simple runs.

## Price the member before the batch

The cost cliff sits between members more than between resolutions: at authoring time the same 1K
edit cost about double on Flash what Lite charged, Pro's 2K default roughly doubled it again, and
Lite returned in under half the time. `dry_run=true` the same parameters on two members before any
batch, and re-estimate whenever `resolution`, `numOutputs`, references, or `useGoogleSearch` change.

## Worked example: product restyle with locked identity

1. `search` with `target="models"`, `query="gemini"`, `public=true`. Video and speech members
   surface too; pick an image member, e.g. `model_google-gemini-3-1-flash` (a live hit at authoring
   time: re-discover each session).
2. `model_schema_get` with that id: fields, caps, and defaults.
3. `upload_asset` the product photo and the style reference (see the `scenario` skill) to get asset
   ids.
4. `model_run` with that `model_id`, `dry_run=true`, and
   `parameters={"prompt": "Image 1 is the product: keep its shape, label, and colors exactly. Image 2 sets the mood: warm sunset palette, soft shadows. Place the product on a marble counter in natural window light.", "referenceImages": ["asset_a", "asset_b"], "aspectRatio": "4:5", "resolution": "2K", "numOutputs": 2}`
   for the cost estimate.
5. Repeat `model_run` with `wait=false`, then `jobs_wait` with the returned job id, re-called with
   `pending_job_ids` on timeout, never a second `model_run`.
6. `asset_display` to review both variations, `asset_download` to save the pick.

## Common mistakes

- Passing `video` and `referenceImages` together on Flash: they are mutually exclusive.
- Reaching for `seed` or `mask`: neither exists on any member; describe the edit and batch
  `numOutputs` to pick from.
- Carrying fields across members: `resolution` fails on Lite, `thinkingLevel` on Pro, `video`
  everywhere but Flash.
- Keyword-tag prompts: comma lists underperform; write the sentence you would give a designer.
- Several references with no roles: outputs blend them; say which image is which by position.
- Enabling `useGoogleSearch` for stylistic work: it raises cost and earns it only on factual,
  real-world subjects.

© scenario-labs · MIT · scenario-labs/skills

Similar skills

All skills for AI and ML →

From the same set72

scenario-sparc3d Turns one to four photos into a watertight mesh with Sparc3D models on Scenario. Useful for game assets, AR/VR and 3D printing. CX Codex +1 414installs scenario-report Turns a failed generation or MCP tool error into a reproducible report and walks you through posting it to the Scenario tracker. CX Codex +1 413installs scenario-text-overlay Deterministically renders text cards and overlays to transparent PNGs for compositing on Scenario media. CX Codex +1 397installs scenario-patina-retexture Retextures an existing 3D asset with PATINA PBR materials over the Scenario MCP server. Vertices, faces and transforms stay as they were; only the shaders change. CX Codex +1 394installs scenario-gpt-image A skill that teaches your agent to run Anthropic's Claude Image models on Scenario over MCP: text-to-image, reference edits, alpha-mask inpainting and transparent cutouts. CX Codex +1 402installs scenario-blender-lighting-rendering A skill that walks an AI agent through lighting, rendering and compositing in Blender, from three-point setups to AgX color management. CX Codex +1 400installs scenario-seedance Directs ByteDance Seedance video generation and editing on Scenario via MCP. It configures first and last frames, handles asset references, and extends clips. CX Codex +1 387installs scenario-seedance-music-video Turns a song into a finished music video: shot list built on the track's sections, clips from Seedance, and an edit laid over the untouched master. CX Codex +1 394installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor