[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Nano Banana Edit](https://spiral.ai/integrations/grok/nano-banana-edit)

# How to Use Nano Banana Edit in Grok

Use Nano Banana Edit to change backgrounds, restyle photos, or place a familiar subject in a new scene. It edits existing images with the original model's roughly 1K output, below Pro's resolution range.

|  |  |
| --- | --- |
| Model | Nano Banana Edit |
| Available through | fal |
| Category | Image |
| Price | $0.05174 per image. Billed on `num_images`, default 1. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Nano Banana Edit in Grok

- Use Nano Banana Edit on the photo I supplied. Change the wall behind the chair to deep green while preserving the chair, floor, framing, and lighting.
- Use Nano Banana Edit with my two images: the first supplies the teapot and the second supplies the room. Place the teapot on the room's table, preserve its shape and pattern, and match the lighting in a 2K image.
- Use Nano Banana Edit to replace the headline in my poster with exactly "Bienvenidos al jardín". Keep the illustration and layout, use readable lettering, request 2K output, and check the accent mark.
- Remove the background from the photo I attach with Nano Banana Edit and give me a transparent PNG.
- Use Nano Banana Edit to clean up these product shots so they sit on pure white.

## How to set up Nano Banana Edit in Grok

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

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok 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 Edit**: 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": "fal",
    "model": "fal-ai/nano-banana/edit",
    "input": {
      "prompt": "make a photo of the man driving the car down the california coastline",
      "image_urls": [
        "<image_urls>"
      ]
    }
  }'
```

Then paste one of the prompts above: Grok finds Nano Banana Edit on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## Nano Banana Edit tools and prices

- [Nano Banana · Image Editing](https://spiral.ai/tools/fal/fal-ai/nano-banana/edit) (fal): $0.05174 per image. Billed on `num_images`, default 1.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| num_images | 1 to 4 | 1 | The number of images to generate. |
| seed |  | — | The seed for the random number generator. |
| aspect_ratio | auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16 | auto | The aspect ratio of the generated image. |
| output_format | jpeg, png, webp | png | The format of the generated image. |
| safety_tolerance | 1, 2, 3, 4, 5, 6 | 4 | The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict. |
| limit_generations |  | true | Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate. |

## What can you do with Nano Banana Edit in Grok?

Turn a description or supplied image into artwork you can refine through conversation. Create a new scene, edit a photo, or use Pro for a design with readable wording.

### Product scenes from reference photos

Place an existing product into different settings while asking to preserve its shape, color, and identifying details. Compare each result with the original photo.

### Posters with exact wording

Use Pro for artwork that includes a headline or short message. Supply the wording in quotes and describe its position and typography.

### Localized campaign artwork

Use Pro Edit to replace text in an existing design with approved translations. Ask to preserve the product, layout, and background.

### Sketches turned into mockups

Give Pro Edit a layout sketch and a product reference to create a visual mockup. Assign a specific role to each reference.

### Explanatory diagrams

Turn supplied notes into a labeled visual with Pro. Review the relationships and labels against the notes before sharing it.

### Photo restyling

Use the editing models to reinterpret a photo as an illustration or change its setting. State which subject details should remain recognizable.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Grok guides](https://spiral.ai/integrations/grok)

## Nano Banana Edit in other agents

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

## More Grok guides

- [Nano Banana 2.1 Text to Image](https://spiral.ai/integrations/grok/nano-banana-2-1-text-to-image)
- [Nano Banana Pro](https://spiral.ai/integrations/grok/nano-banana-pro)
- [Nano Banana 2.1 Edit](https://spiral.ai/integrations/grok/nano-banana-2-1-edit)
- [Nano Banana Pro Edit](https://spiral.ai/integrations/grok/nano-banana-pro-edit)
- [Nano Banana 2.1](https://spiral.ai/integrations/grok/nano-banana-2-1)
- [Nano Banana Pro Image Editing](https://spiral.ai/integrations/grok/nano-banana-pro-image-editing)

## Questions about Nano Banana Edit in Grok

**Can Grok use Nano Banana Edit?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Nano Banana Edit like any built-in tool.

**How much does Nano Banana Edit cost in Grok?**

$0.05174 per image. Billed on `num_images`, default 1. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

**Do I need a fal account to use Nano Banana Edit in Grok?**

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

**How long does it take to set up Nano Banana Edit in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while Nano Banana Edit runs?**

Nano Banana Edit runs in the background. Grok starts the run, checks on it and gives you the image when it's ready.

**When should I choose Nano Banana Pro?**

Choose Pro for text-heavy artwork, detailed compositions, or output above the original model's roughly 1K range. It supports native generation from 1K to 4K.

**Can Nano Banana keep the same person or product across images?**

Maintaining a subject's appearance across edits is a core strength. Use a clear reference and check each result, because consistency is not guaranteed.

**Can it create readable text in other languages?**

Pro can generate multilingual text and translate existing artwork. Provide the exact translated wording when it matters, then check the rendered spelling before using the image.

**How many reference images should I use?**

Google says the original works best with up to three input images. Pro supports up to 14 references, but each reference should have a clear purpose, such as the subject, layout, or background.

**Can I trust the facts in a generated infographic?**

Check every label, number, and relationship against your source material. Pro can misinterpret information or produce incorrect facts even when the graphic looks convincing.

