---
title: Nano Banana 2.1 Text To Image API | ModelsLab
description: Generate images from text with Nano Banana 2.1 Text To Image by Google. High-resolution AI image generation. Plans from $21/month.
url: https://modelslab.com/models/google/gemini-nano-banana-2.1-t2i.md
canonical: https://modelslab.com/models/google/gemini-nano-banana-2.1-t2i
type: product
component: Playground/Endpoint/Index
generated_at: 2026-10-06T23:40:43.918867Z
---

[![Nano Banana 2.1 Text To Image  thumbnail](https://assets.modelslab.ai/api-logos/01KMSWZ55N192HV90FQ8GTR7CQ.webp)](https://modelslab.com/models/google)Nano Banana 2.1 Text To Image 
---

[by Google](https://modelslab.com/models/google)Generate high-quality images from text prompts with Google's Nano Banana 2.1. Fast, prompt-faithful results through a single ModelsLab API.

`gemini-nano-banana-2.1-t2i`

Closed Source Model [LLMs.txt](https://modelslab.com/models/google/gemini-nano-banana-2.1-t2i/llms.txt)

[API Playground](/models/google/gemini-nano-banana-2.1-t2i)API DocumentationVibe CodeRelated ModelsDeveloper SupportModel Specs

Input
---

Prompt 

Slow-motion cinematic shot of a boy kicking a football in an open ground, dramatic lighting, motion blur, realistic shadows, professional sports photography style, ultra-detailed, wearing a t-shirt printed with “Nano Banana 2.1 is on Modelslab

Aspect ratio 

Resolution 

**Per image generation According to Resolution** 

Login to Generate

Output
---

Idle

Unknown content type

Looking for something different?
---

Models that trade off differently against the one you are viewing

### Better quality

Newer flagship models that generally produce stronger results.

[Google](https://modelslab.com/models/google)

 [Nano Banana Pro](/models/google/nano-banana-pro?config=nano-banana-pro-text2image)

[Runway ML](https://modelslab.com/models/runway_ml)

 [Gen4 Text to Image](https://modelslab.com/models/runway_ml/gen4_image)

[xAI](https://modelslab.com/models/xai)

 [Grok Imagine Image 2.0 Text To Image](https://modelslab.com/models/x-ai/grok-imagine-image-2.0-t2i)

[BytePlus](https://modelslab.com/models/byteplus)

 [Seedream 5.0 Pro Text To Image](https://modelslab.com/models/byteplus/seedream-5.0-pro-t2i)

[OpenAI](https://modelslab.com/models/openai)

 [GPT-Image-2.5 Sunburst - Text To Image](https://modelslab.com/models/openai/gpt-image-2.5-sunburst-t2i)

[OpenAI](https://modelslab.com/models/openai)

 [GPT Image 2.5 Flare Text to Image](https://modelslab.com/models/openai/gpt-image-2.5-flare-t2i)

### Faster Generation

Built for speed when you are iterating on a prompt.

[xAI](https://modelslab.com/models/xai)

 [Grok Imagine Text To Image](https://modelslab.com/models/xai/grok-imagine-image-t2i)

[Alibaba](https://modelslab.com/models/alibaba_cloud)

 [Wan 2.7 Text To Image](https://modelslab.com/models/alibaba_cloud/wan-2.7-t2i)

### Lower cost per run

Open-source models we host, unlimited on the $149/month plan.

[ModelsLab](https://modelslab.com/models/modelslab)

 [Qwen Text to Image](/models/modelslab/qwen?config=qwen-text-to-image)Open Source Model

[ModelsLab](https://modelslab.com/models/modelslab)

 [Flux.2 Dev Text To Image](/models/modelslab/flux-2-dev)Open Source Model

[ModelsLab](https://modelslab.com/models/modelslab)

 [Hidream-O1 Text to Image](/models/modelslab/hidream-o1-text2img)Open Source Model

[ModelsLab](https://modelslab.com/models/modelslab)

 [Krea-2 turbo Text to Image](/models/modelslab/krea-2-turbo-text-to-image)Open Source Model

[BFL](https://modelslab.com/models/bfl)

 [Flux 3 Text To Image](https://modelslab.com/models/bfl/flux-3-image-t2i)Closed Source Model

[Ideogram](https://modelslab.com/models/ideogram)

 [Ideogram 4.5 Text To Image](https://modelslab.com/models/ideogram/ideogram-4-5-t2i)Closed Source Model

Related Models
---

Discover similar models you might be interested in

 [View all Image Models](https://modelslab.com/models?feature=imagen)

[BFL](https://modelslab.com/models/bfl)

 [Flux 2 Max Text To Image](https://modelslab.com/models/bfl/flux-2-max)Closed Source Model

[ModelsLab](https://modelslab.com/models/modelslab)

 [RealTime Text To Image](https://modelslab.com/models/modelslab/realtime_t2i)Open Source Model

[ModelsLab](https://modelslab.com/models/modelslab)

 [Qwen 2.1 Text to Image](https://modelslab.com/models/modelslab/qwen-edit-2.1)Open Source Model

[Alibaba Cloud](https://modelslab.com/models/alibaba_cloud)

 [Qwen Image 3.0 Text To Image](https://modelslab.com/models/alibaba_cloud/qwen-image-3.0-pro-t2i)Closed Source Model

[Google](https://modelslab.com/models/google)

 [Imagen 3 Generate 001](https://modelslab.com/models/google/imagen-3.0-generate-001)Closed Source Model

[ModelsLab](https://modelslab.com/models/modelslab)

 [Flux Headshot](https://modelslab.com/models/modelslab/flux_headshot)Open Source Model

View all 16 related models

About Nano Banana 2.1 Text To Image 
---

Nano Banana 2.1 Text To Image  is a text to image AI model by Google available on ModelsLab. API access starts at $21/month, and open-source models are unlimited on the $149/month plan.

### Technical Specifications

Model IDgemini-nano-banana-2.1-t2i

ProviderGoogle

CategoryImage Models

TaskText to Image

Price$0.04 per generation, scaled by your settings

AddedOctober 6, 2026

### Key Features

- High-resolution AI image generation from text prompts
- Negative prompt support for precise control
- Multiple output formats and aspect ratios
- Adjustable inference steps and guidance scale
- Batch generation support via API

### Quick Start

Integrate Nano Banana 2.1 Text To Image  into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/images/text-to-image"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "gemini-nano-banana-2.1-t2i",
        "prompt": "your prompt here",
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

Nano Banana 2.1 Text To Image  API costs $0.04 per generation, scaled by your settings. Plans start at $21/month, and open-source models are unlimited on the $149/month plan. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- Product photography and e-commerce visuals
- Marketing and social media content creation
- Concept art and design prototyping
- Custom illustrations and artwork

[Browse Image Models](https://modelslab.com/models?feature=imagen) [More from Google](https://modelslab.com/models/google) [View Pricing](https://modelslab.com/pricing)

Nano Banana 2.1 Text To Image FAQ
---

### What is Nano Banana 2.1 Text To Image ?

Nano Banana 2.1 Text To Image is a text to image AI model by Google available on ModelsLab. API access starts at $21/month, and open-source models are unlimited on the $149/month plan.

### How do I use the Nano Banana 2.1 Text To Image API?

You can integrate Nano Banana 2.1 Text To Image into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "gemini-nano-banana-2.1-t2i" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Nano Banana 2.1 Text To Image cost?

Nano Banana 2.1 Text To Image costs $0.04 per generation, scaled by your settings. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

### What is the Nano Banana 2.1 Text To Image model ID?

The model ID for Nano Banana 2.1 Text To Image is "gemini-nano-banana-2.1-t2i". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use Nano Banana 2.1 Text To Image ?

Yes. ModelsLab is subscription-based with no free tier — plans start at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-10-07*