vscode-nanobanana

Nano Banana Image Generator

A VS Code extension that generates images with Gemini API. It can build prompts for image generation through the GitHub Copilot Language Model API, then generate and open the output image in VS Code.

Banner

Features

Supported UI Languages

Language behavior:

Commands

Command labels are localized through package.nls.*.json.

Settings

Gemini API Key Setup

Nano Banana requires a Gemini API key for image generation and image editing.

  1. Go to Google AI Studio and create an API key: https://aistudio.google.com/apikey
  2. In VS Code, open Command Palette and run: Nano Banana: Set Gemini API Key
  3. Paste your API key and confirm
  4. Start generating/editing images with Nano Banana commands

Notes:

Development

npm install
npm run typecheck
npm run test
npm run build

Packaging / Publishing

npm run package:vsix
npm run publish:vscode

License

This project is licensed under the MIT License.