---
name: Nano Banana
version: 1.0.0
description: "Google Gemini 3 Pro Image (Nano Banana Pro) - state-of-the-art AI image generation and editing."
homepage: https://seren-nano-banana-beyazl7hsq-uc.a.run.app
metadata: {"seren":{"category":"integration","publisher_slug":"nano-banana","api_base":"https://api.serendb.com"}}
---

# Nano Banana

Google Gemini 3 Pro Image (Nano Banana Pro) - state-of-the-art AI image generation and editing.

## API Endpoints

### POST `/generate`

Generate an image from a text prompt

**Example:**

```bash
curl -X POST https://api.serendb.com/publishers/nano-banana/generate \
  -H "Authorization: Bearer $SEREN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### POST `/generate/4k`

Generate a 4K resolution image

**Example:**

```bash
curl -X POST https://api.serendb.com/publishers/nano-banana/generate/4k \
  -H "Authorization: Bearer $SEREN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### POST `/edit`

Edit an existing image with a text prompt

**Example:**

```bash
curl -X POST https://api.serendb.com/publishers/nano-banana/edit \
  -H "Authorization: Bearer $SEREN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### POST `/blend`

Blend multiple images into a cohesive composition

**Example:**

```bash
curl -X POST https://api.serendb.com/publishers/nano-banana/blend \
  -H "Authorization: Bearer $SEREN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## MCP Tools

This API publisher also supports MCP (Model Context Protocol) access. Each API endpoint is available as an MCP tool.

### Available Tools

- `post_generate`: Generate an image from a text prompt
- `post_generate_4k`: Generate a 4K resolution image
- `post_edit`: Edit an existing image with a text prompt
- `post_blend`: Blend multiple images into a cohesive composition

### Introspection

```bash
# List tools
curl https://api.serendb.com/publishers/nano-banana/_mcp/tools \
  -H "Authorization: Bearer $SEREN_API_KEY"

# Call a tool
curl -X POST https://api.serendb.com/publishers/nano-banana/_mcp/tools/{tool_name} \
  -H "Authorization: Bearer $SEREN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body": {"key": "value"}}'
```

## Pricing

**Pricing Model:** per_byte

- Base price per 1000 rows (bytes): $0.00100000

**Minimum charge:** $0.00010000

---

## Need Help?

- Seren Docs: https://docs.serendb.com
- Publisher: Google Gemini 3 Pro Image (Nano Banana Pro) - state-of-the-art AI image generation and editing.
