Логотип Nano Banana Pro

Nano Banana Pro

Сообщество
gustavo-henriq
nano-banana-pro

Generate or edit images (portraits, product shots, banners, illustrations, mockups, visual assets) and generate short VIDEOS (Veo, with --video) with Nano Banana Pro through the user's own Gemini web session. Use it when the user asks to create, generate, edit or refine an image, to create a video or animated clip, or when a project needs a visual asset that code or SVG cannot produce. The agent writes the prompt, runs the script, looks at the result and iterates.

Add to TypingMind

Обзор

Издательgustavo-henriq
Репозиторийnano-banana-pro-skill
Название навыкаnano-banana-pro
Звёзды
57
Форки
6
Файлы в комплекте
1
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 1

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — gustavo-henriq. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Nano Banana Pro в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/gustavo-henriq/nano-banana-pro-skill/tree/main/skills/nano-banana-pro
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gustavo-henriq/nano-banana-pro-skill.git /tmp/nano-banana-pro-skill
mkdir -p .claude/skills
cp -r /tmp/nano-banana-pro-skill/skills/nano-banana-pro .claude/skills/nano-banana-pro
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Nano Banana Pro в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Nano Banana Pro, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Nano Banana Pro не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Nano Banana Pro (Gemini web, driven by an AI agent)

You do not generate pixels. This skill makes you the art director: turn the request into a strong prompt, run the script, look at the image, and decide whether to redo it.

The script is scripts/nanobanana.py inside this skill's base directory. Run it yourself, directly, from the shell. Do not delegate it to a sub-agent: it is one command, and a sub-agent only adds tokens. For long runs, run it in the background if your tool supports that, and wait for it to finish instead of polling.

Workflow

  1. Understand the request. If something that changes the result is missing (final use, aspect ratio, style, text inside the image, references), ask first. Each image spends daily credits.
  2. Write the prompt in English, concrete: subject, medium/style, composition, lighting, palette (hex if the project has one), and what you do NOT want. Put text that must appear in the image inside quotes, and keep it short.
  3. Run the script.
    bash
    python -I "<skill-dir>/scripts/nanobanana.py" "<prompt>" -o out/name.png --aspect 3:4
    python -I "<skill-dir>/scripts/nanobanana.py" --prompt-file spec.json -o out/name.png --aspect 4:5 --ref ref1.png --ref ref2.png
    For complex scenes write the prompt as JSON in a file and use --prompt-file; quotes break on the command line.
  4. Look at the result yourself. Open the saved file with a tool that can show you images (for example your file-read tool). Judge composition, readable text, artifacts, hands, and how well it matches the request. Be honest with the user about what is wrong.
  5. Iterate 2-3 times at most, adjusting the prompt with what was missing. For a small fix, pass the previous image with --ref and ask only for the change. Then show the user and ask.
  6. Save assets inside the project (assets/, docs/), never loose in the project root.

Videos (--video)

This skill also generates videos. The same Gemini session produces short clips with Veo; the script just has to be told to ask for a video and to read response.videos instead of images. Without --video it always asks for an image and will never return a video.

bash
python -I "<skill-dir>/scripts/nanobanana.py" "a banana slowly rotating on a wooden table, soft studio light" -o out/banana.mp4 --video --aspect 16:9
  • Output: SAVED <path>.mp4 and THUMB <path>.jpg. Look at the thumbnail with Read to judge the clip (you cannot watch the mp4); tell the user you only checked the thumbnail.
  • Write the prompt like a shot description: subject, motion, camera move, lighting, duration ("5 seconds"). Describe the motion in words; a still --ref image can set the first frame.
  • Videos are slower (default timeout 600s) and Google often answers with a generic error or "at full capacity, high traffic generating videos" instead of a video. The script retries on its own (--retries, default 2, waiting 10s and alternating gemini-carbon / gemini-flash-lite). If it still fails (exit 1), wait a few minutes and try again; do not loop.
  • Tested 2026-11-17 on an AI Pro account: gemini-carbon and gemini-pro failed on the first tries (error / empty reply), gemini-flash-lite returned a 16:9 MP4 (~3 MB, 5 s). One sample only, so the model difference is not proven; failures looked like Google-side instability, not a plan limit.
  • Video spends the same daily credits and is probably costlier than an image: run --quota before more than one or two clips.

Reading the script output

The script prints plain lines. React to them:

LineMeaningWhat to do
SAVED <path>image (or .mp4 with --video) savedopen an image with Read
THUMB <path>video thumbnail (only with --video)open it with Read to judge the clip
RETRY n/m (stderr)Google returned no video, trying againnothing, just wait
MODEL <name>model that was usedmention it if the user compares models
QUOTA <n>% left ...a threshold was crossed (50%, 25%, 10%, 5% left)tell the user in one short sentence, then continue
LIMIT_REACHED ...daily credits are over (exit 4)stop, tell the user when it resets, do not retry

Exit codes: 0 ok, 1 no image or refused (read the message), 2 authentication (cookies expired or missing), 3 missing dependency, 4 usage limit reached, 5 timeout. On 2 or 3, bring the problem to the user instead of retrying.

Before a large batch (more than ~6 images), run python -I <skill-dir>/scripts/nanobanana.py --quota and tell the user how many credits are left. It only reads the account and generates nothing. A timeout (exit 5) usually means the limit is over, so check --quota.

Which model

Models on a typical AI Pro account: gemini-carbon, gemini-pro, gemini-flash, gemini-flash-lite. The default is gemini-carbon; pass --model to change it.

  • gemini-carbon (default): follows geometry, perspective, pose, hand gestures, object positions and fine details of a reference much better. Use it for anything with a camera angle, a pose or a reference.
  • gemini-flash-lite: wins on skin and material finish (glazed ceramic, film grain, glossy retouch), but it simplifies the scene and often drops details such as a hand gesture. Use it for texture-led images.
  • For an important image, generate with both and pick one.

Prompt lessons

  • JSON prompts work better for complex scenes: format, camera, subject, clothing, background, lighting, negatives. The script wraps JSON prompts with an instruction to output only the image (without it the model sometimes answers with text).
  • Numbers beat adjectives for framing. "Close-up" and "tight" are ignored. Use distances ("camera about 35 cm from her face"), lens ("24mm", "12mm fisheye"), and how much of the frame things fill ("head and hat fill about 45 percent of the frame height").
  • References: say what each reference is for ("image 1 is the pose only, do not copy the person"). Passing every reference to every prompt mixes them: give each generation only the references it needs.
  • Describing a pose in words is weak. Pass the pose photo with --ref.
  • Very long prompts can come back as text. Keep the essentials and put the output instruction first.

Setup

bash
pip install gemini-webapi browser-cookie3

Authentication, in order:

  1. GEMINI_1PSID and GEMINI_1PSIDTS environment variables.
  2. --browser chrome|edge|firefox|brave when given (reads the browser session; on Windows Chromium browsers need admin rights, and you must not run it elevated).
  3. A cookies file at ~/.nano-banana-pro/cookies.json (or $NANO_BANANA_HOME/cookies.json).

Since Gemini web build 20261119, __Secure-1PSID + __Secure-1PSIDTS alone no longer work: Google redirects them to the sign-in page (see gemini-webapi issue #381). The full set of Google cookies of a signed-in profile is needed, each on its own domain, including SID, HSID and APISID. The script patches the library for this and never hangs on login (60 s limit).

  • --browser firefox with gemini.google.com signed in on Firefox is the tested path: Firefox is readable without admin rights and exposes the full set.
  • A Cookie-Editor JSON export (a list) saved as cookies.json also loads. It must contain SID, HSID and APISID; Brave exports were tested and miss them (rejected). Edge/Chrome exports are untested.
  • "Only gemini-auto available", QUOTA unavailable or a "you're signed out" reply means the session is not authenticated.

Never print, read aloud, log or commit cookie values, and do not open the cookies file just to look at it. The script locks ~/.nano-banana-pro to the current user on the first run. Windows may save the file as cookies.json.txt.

Limits and care

  • This uses the unofficial web interface, not the API. It can break when Google changes something, and it spends the plan's daily credits. Do not run it in loops or large batches.
  • Expired cookies give exit code 2: ask the user to reopen gemini.google.com while logged in and refresh the cookies.
  • Resolution depends on the aspect ratio, not on the model (3:4 and 4:5 come out around 1800x2400 and 1850x2300; 3:2 around 2500x1700).
  • For vector logos, simple icons or diagrams, SVG or code is usually better than a generated image.
  • Videos are short clips only (a few seconds). Longer or edited video needs another tool.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Nano Banana Pro?

Generate or edit images (portraits, product shots, banners, illustrations, mockups, visual assets) and generate short VIDEOS (Veo, with --video) with Nano Banana Pro through the user's own Gemini web session. Use it when the user asks to create, generate, edit or refine an image, to create a video or animated clip, or when a project needs a visual asset that code or SVG cannot produce. The agent writes the prompt, runs the script, looks at the result and iterates.

Зачем использовать Nano Banana Pro в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Nano Banana Pro — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Nano Banana Pro в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/gustavo-henriq/nano-banana-pro-skill/tree/main/skills/nano-banana-pro. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Nano Banana Pro?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Nano Banana Pro?

С любым количеством. В TypingMind вы можете использовать Nano Banana Pro с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Nano Banana Pro?

Навык опубликован на GitHub. Издатель — gustavo-henriq. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип mattpocock

Grill With Docs

mattpocock
СообществоПопулярный

Настойчивое интервью, которое помогает улучшить план или дизайн и по ходу дела создаёт документы (ADR и глоссарий).

23K
273.1K
Файлы: 1
Открыть
Логотип mattpocock

Grill Me

mattpocock
СообществоПопулярный

Настойчивое интервью, которое помогает улучшить план или дизайн.

23K
273.1K
Файлы: 1
Открыть
Логотип affaan-m

Brand Discovery

affaan-m
СообществоПопулярный

Используйте, когда бренду нужно выявить или сформулировать свою идентичность в ходе структурированных интервью, проходящих в несколько сессий. Охватывает цель, позиционирование, аудиторию, характер, тон коммуникации, повествование и противоречия между брендом и его основателем…

40.4K
270.2K
Файлы: 9
Открыть
Логотип affaan-m

Competitive Platform Analysis

affaan-m
СообществоПопулярный

Используйте при определении конкурентной среды: выявлении конкурентов, их классификации и отборе по оценкам до начала сравнительного анализа. Определяет, кого считать конкурентом, к какому уровню его отнести…

40.4K
270.2K
Файлы: 1
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇