К основному содержанию
скилл CX Codex

scenario-gemini-image — скилл для Claude Code: что делает

Управляет генерацией и редактированием картинок через модели Google Gemini на Scenario по протоколу MCP.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add scenario-labs/skills --skill scenario-gemini-image -a claude-code
Открыть на GitHub

Что делает scenario-gemini-image

Скилл настраивает работу с моделями линейки Nano Banana через вызовы Scenario MCP: Gemini 3.1 Flash, 3.0 Pro и 3.1 Lite. Вместо масок и сидов модели принимают обычные текстовые инструкции. Для редактирования нужно описать изменения словами и передать до 14 картинок в referenceImages, явно распределив роли по номерам.

Между версиями моделей есть жёсткие различия в параметрах. Flash поддерживает ввод видеофайла объёмом около 15 МБ для извлечения кадров, но поле video несовместимо с referenceImages. Модель Pro не принимает параметр thinkingLevel, а на Lite вызов с resolution приведёт к ошибке, потому что разрешение там зафиксировано на 1K.

Для работы требуется базовый скилл scenario для подключения к MCP и авторизации. Перед запуском генерации скилл советует выполнить model_run с флагом dry_run=true, чтобы заранее оценить списание баланса.

Какие задачи решает

  • Сгенерировать изображение по текстовому описанию до 250000 символов
  • Отредактировать часть картинки текстовой инструкцией без масок
  • Сохранить внешность персонажа при смене позы и окружения
  • Извлечь кадры из видеоролика через модель Gemini 3.1 Flash
  • Объединить стиль и объекты из нескольких картинок-референсов

Примеры запросов агенту

  • Сгенерируй обложку через Gemini 3.1 Flash в соотношении 16:9 и разрешении 2K
  • Возьми asset_1 как внешность персонажа, а asset_2 как стиль и сгенерируй новый портрет через Gemini 3.0 Pro
  • Оцени стоимость генерации баннера через dry_run на Gemini 3.1 Lite и Flash

Как установить scenario-gemini-image

1Через Skills CLI (Vercel)

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

2Вручную: положить файлы

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

Папка скилла целиком; для одного проекта — .claude/skills/scenario-gemini-image/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о scenario-gemini-image

Как установить scenario-gemini-image в Claude Code?

Выполните команду npx skills add scenario-labs/skills --skill scenario-gemini-image -a claude-code.

Что делает скилл scenario-gemini-image?

Он даёт агенту правила работы с генерацией картинок через модели Google Gemini на Scenario. Агент учится составлять промпты в виде инструкций, связывать референсы и подбирать параметры для Flash, Pro и Lite.

Поддерживают ли модели Gemini маски или отрицательные промпты?

Нет, ни масок, ни параметра seed, ни отрицательных промптов здесь нет. Любые правки описываются текстом: вы прямо указываете, какие элементы исходника сохранить, а что именно заменить.

Исходный текст

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

Похожие скиллы

Всё по теме «ИИ и ML» →
gemini-image johnlindquist Скилл разбирает изображения силами Gemini: вытаскивает текст из скриншотов, читает код с картинки, объясняет диаграммы и ошибки. CX Codex +1 1 200установок baoyu-danger-gemini-web JimLiu Генерирует текст и изображения через веб-клиент Gemini. Пригодится, когда нужна генерация картинок или диалог с Gemini без официального API-ключа. CX Codex +1 27 900установок seo-image-gen AgriciDaniel Генерирует OG-картинки, обложки статей, фото товаров и инфографику через Gemini. Пригодится, когда SEO-изображение нужно создать прямо из агентной среды. CX Codex +1 6 100установок videoagent-image-studio wells Скилл даёт доступ к Midjourney, Flux, Ideogram и ещё пяти моделям через один интерфейс, без необходимости хранить API-ключи. Агент сам выбирает подходящую модель и справляется с асинхронностью Midjourney. CX Codex +1 5 600установок generate-image K-Dense-AI Генерирует и редактирует изображения через OpenRouter Image API в моделях Gemini, Recraft и Seedream. Пригодится для иллюстраций, логотипов и концепт-арта. CX Codex +1 2 000установок ai-image-generator jezweb Скилл учит агента выбирать модель Gemini или GPT под задачу и собирать промпты по пятичастной схеме. Пригодится, когда сайту нужны hero-баннеры, иконки или OG-картинки. CX Codex +1 1 400установок

Из того же набора68

scenario-3d-worlds Скилл для генерации проходимых 3D-миров и гауссовых сплатов на Scenario через MCP: из текста, картинки, панорамы или видео. CX Codex +1 418установок scenario-sparc3d Превращает одну-четыре фотографии в watertight-меш через модели Sparc3D на Scenario. Пригодится для игровых ассетов, AR/VR и 3D-печати. CX Codex +1 414установок scenario-report Помогает превратить сбой генерации или ошибку MCP-инструмента в воспроизводимый отчёт и отправить его в трекер Scenario. CX Codex +1 413установок scenario-text-overlay Рендерит точный текст и плашки в PNG через Mustache-шаблоны для наложения на графику и видео в Scenario. CX Codex +1 397установок scenario-gpt-image Скилл учит агента работать с моделями GPT Image на Scenario через MCP: генерация, правки по референсу, инпейнтинг по альфа-маске и прозрачные вырезы. CX Codex +1 402установок scenario-blender-lighting-rendering Скилл для ИИ-агента, который разбирается со светом, рендером и композитингом в Blender: от трёхточечной схемы до цветокоррекции AgX. CX Codex +1 400установок scenario-seedance Направляет генерацию и монтаж видео через модели Seedance от ByteDance в Scenario по протоколу MCP. Помогает задать первый и последний кадры, перенести персонажа или продлить ролик. CX Codex +1 387установок scenario-seedance-music-video Собирает музыкальный клип из трека: раскадровка по секциям, генерация клипов в Seedance и монтаж поверх нетронутого мастера. CX Codex +1 394установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой