[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Nano Banana 2 Lite](https://spiral.ai/integrations/muse-code/nano-banana-2-lite)

# How to Use Nano Banana 2 Lite in Muse Code

Use Nano Banana 2 Lite for quick 1K image drafts, short headline graphics, and simple photo edits. Compared with Nano Banana Pro, it prioritizes rapid iteration over complex visual reasoning and precise control.

|  |  |
| --- | --- |
| Model | Nano Banana 2 Lite |
| Available through | Gemini, Vertex AI |
| Category | Image |
| Price | Up to $0.047679 per run at the default inputs. $0.325 per 1M input tokens, $39.00 per 1M image output tokens, $1.95 per 1M text output tokens. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Nano Banana 2 Lite in Muse Code

- Use Nano Banana 2 Lite to draft a 1024 by 1024 onboarding illustration from this project's product brief. Show one person organizing receipts at a desk, with soft daylight and no text.
- Read the project's announcement copy, then use Nano Banana 2 Lite to create a square 1K graphic containing only the headline 'Team calendar'. Use large lettering and check the spelling.
- Use Nano Banana 2 Lite to edit the product photo in our assets folder. Replace only the background with a pale green studio backdrop; preserve the product's shape and markings.
- Use Nano Banana 2 Lite to create a square 1K sticker of our project's fox mascot holding a pencil. Use bold outlines, a white background, and no lettering.
- Use Nano Banana 2 Lite to illustrate the three stages in our onboarding specification as a square 1K diagram. Use only three large labels and verify their order against the specification.

## How to set up Nano Banana 2 Lite in Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Nano Banana 2 Lite**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "gemini",
    "model": "gemini-3.1-flash-lite-image",
    "input": {
      "contents": [
        {}
      ]
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Nano Banana 2 Lite on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Nano Banana 2 Lite tools and prices

- [Nano Banana 2 Lite](https://spiral.ai/tools/gemini/gemini-3.1-flash-lite-image) (Gemini): Up to $0.047679 per run at the default inputs. $0.325 per 1M input tokens, $39.00 per 1M image output tokens, $1.95 per 1M text output tokens.
- [Gemini 3.1 Flash Lite Image](https://spiral.ai/tools/vertex/gemini-3.1-flash-lite-image) (Vertex AI): Up to $0.047679 per run at the default inputs. $0.325 per 1M input tokens, $0.0325 per 1M cached input tokens, $39.00 per 1M image output tokens, $1.95 per 1M text output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| generationConfig |  | — | Configuration options for model generation and outputs. |
| systemInstruction |  | — | Developer set [system instruction(s)](https://ai.google.dev/gemini-api/docs/system-instructions). |

## What can you do with Nano Banana 2 Lite in Muse Code?

Turn project briefs into visual drafts you can review alongside your interface. Use Nano Banana 2 Lite for 1K illustrations, short text graphics, and focused edits to existing assets.

### Illustration concepts

Explore a scene in several artistic directions before choosing one for an article or campaign. Specify the subject, setting, and lighting in each request.

### Short headline graphics

Draft a square announcement image with one large headline. Keep the wording brief and check every letter before using it.

### Product background trials

Start with a product photo and request a simple background change. Compare the result with the original for changes to the product's shape or details.

### Color studies

Use an existing image to test a different color on one object. Request each study from the original image to keep the edit focused.

### Sticker artwork

Create a character sticker with a clear silhouette, bold outlines, and a plain background. Describe the pose and medium rather than relying on a style label alone.

### Localized announcement drafts

Try short, supplied translations in a visual announcement. Review the rendered text with someone who knows the language before publishing.

### Simple explanatory diagrams

Turn a verified explanation into a diagram with a few large labels. Treat the image as a draft and check its relationships and wording against the source.

## Overview

- [Google Gemini](https://spiral.ai/providers/gemini)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Nano Banana 2 Lite in other agents

- [Amp](https://spiral.ai/integrations/amp/nano-banana-2-lite)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/nano-banana-2-lite)
- [Claude](https://spiral.ai/integrations/claude-desktop/nano-banana-2-lite)
- [Claude Code](https://spiral.ai/integrations/claude-code/nano-banana-2-lite)
- [Cline](https://spiral.ai/integrations/cline/nano-banana-2-lite)
- [Codex](https://spiral.ai/integrations/codex/nano-banana-2-lite)
- [Cursor](https://spiral.ai/integrations/cursor/nano-banana-2-lite)
- [Devin](https://spiral.ai/integrations/devin/nano-banana-2-lite)
- [dots](https://spiral.ai/integrations/dots/nano-banana-2-lite)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/nano-banana-2-lite)
- [Gemini](https://spiral.ai/integrations/gemini/nano-banana-2-lite)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/nano-banana-2-lite)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/nano-banana-2-lite)
- [goose](https://spiral.ai/integrations/goose/nano-banana-2-lite)
- [Grok](https://spiral.ai/integrations/grok/nano-banana-2-lite)
- [Grok Build](https://spiral.ai/integrations/grok-build/nano-banana-2-lite)
- [Hermes](https://spiral.ai/integrations/hermes/nano-banana-2-lite)
- [Instinct](https://spiral.ai/integrations/instinct/nano-banana-2-lite)
- [Manus](https://spiral.ai/integrations/manus/nano-banana-2-lite)
- [Muse](https://spiral.ai/integrations/muse/nano-banana-2-lite)
- [n8n](https://spiral.ai/integrations/n8n/nano-banana-2-lite)
- [Notion](https://spiral.ai/integrations/notion/nano-banana-2-lite)
- [OpenClaw](https://spiral.ai/integrations/openclaw/nano-banana-2-lite)
- [opencode](https://spiral.ai/integrations/opencode/nano-banana-2-lite)
- [Perplexity](https://spiral.ai/integrations/perplexity/nano-banana-2-lite)
- [Raycast](https://spiral.ai/integrations/raycast/nano-banana-2-lite)
- [VS Code](https://spiral.ai/integrations/vscode/nano-banana-2-lite)
- [Windsurf](https://spiral.ai/integrations/windsurf/nano-banana-2-lite)
- [Zapier](https://spiral.ai/integrations/zapier/nano-banana-2-lite)

## More Muse Code guides

- [Nano Banana 2 Image Editing fal](https://spiral.ai/integrations/muse-code/nano-banana-2-image-editing-fal)
- [Nano Banana 2 Text to Image](https://spiral.ai/integrations/muse-code/nano-banana-2-text-to-image)
- [Nano Banana 2 Image Editing](https://spiral.ai/integrations/muse-code/nano-banana-2-image-editing)
- [Nano Banana 2 Text to Image fal](https://spiral.ai/integrations/muse-code/nano-banana-2-text-to-image-fal)
- [Nano Banana 2](https://spiral.ai/integrations/muse-code/nano-banana-2)
- [Nano Banana 2.1](https://spiral.ai/integrations/muse-code/nano-banana-2-1)

## Questions about Nano Banana 2 Lite in Muse Code

**Can Muse Code use Nano Banana 2 Lite?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Nano Banana 2 Lite like any built-in tool.

**How much does Nano Banana 2 Lite cost in Muse Code?**

Up to $0.047679 per run at the default inputs. $0.325 per 1M input tokens, $39.00 per 1M image output tokens, $1.95 per 1M text output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need a Gemini account to use Nano Banana 2 Lite in Muse Code?**

No. Spiral runs Nano Banana 2 Lite on its own Gemini account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Nano Banana 2 Lite in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Which provider runs Nano Banana 2 Lite?**

Spiral offers Nano Banana 2 Lite through Gemini and Vertex AI. Name one in your prompt, or let Muse Code pick.

**Does Muse Code wait while Nano Banana 2 Lite runs?**

Nano Banana 2 Lite runs in the background. Muse Code starts the run, checks on it and gives you the image when it's ready.

**What is Nano Banana 2 Lite best for?**

Quick visual exploration: trying an illustration concept, drafting a headline graphic, or testing a simple photo edit. Its emphasis on rapid iteration makes it useful while you are still choosing a direction.

**Can Nano Banana 2 Lite generate 2K or 4K images?**

No. It supports 1K output, with square images at 1024 by 1024 pixels.

**Can Nano Banana 2 Lite put text in an image?**

Yes, including text in multiple languages. Keep copy short and large: Google identifies small text, long paragraphs, and page-length text as weaknesses, so proofread the result.

**Is Nano Banana 2 Lite suitable for repeated image edits?**

Simple local edits are a useful fit, but Google says it is not optimized for long editing sequences or multiple reference inputs. For a new direction, try returning to the original image with one clear edit request.

**How should I prompt Nano Banana 2 Lite?**

Describe the subject, setting, lighting, viewpoint, and desired style. For an edit, state the exact change and what should stay the same.

