---
title: Nano Banana 2 — Text-to-Image | ModelsLab
description: Generate 4K images with accurate text rendering and web grounding using Nano Banana 2 Text To Image model. Try Nano Banana 2 Text To Image API now.
url: https://modelslab.com/nano-banana-2-text-to-image
canonical: https://modelslab.com/nano-banana-2-text-to-image
type: website
component: Seo/ModelPage
generated_at: 2026-04-15T00:42:57.701437Z
---

Available now on ModelsLab · Image Generation

Nano Banana 2 Text To Image
Images with Perfect Text
---

[Try Nano Banana 2 Text To Image](/models/google/gemini-3.1-t2i) [API Documentation](https://docs.modelslab.com)

![Nano Banana 2 Text To Image](https://assets.modelslab.ai/generations/4167ecd2-2e87-4643-85ee-c21f28c7defd.webp)

Unlock Pro Image Generation
---

Flash Speed

### 4-8 Second Generations

Nano Banana 2 Text To Image model outputs 2K images 3-5x faster than Pro on Gemini 3.1 Flash.

Text Mastery

### Legible In-Image Copy

Render accurate text, translate, and localize directly in Nano Banana 2 Text To Image outputs.

Web Grounding

### Real-Time References

Pull live web data for precise depictions in Nano Banana 2 Text To Image API calls.

Examples

See what Nano Banana 2 Text To Image can create
---

Copy any prompt below and try it yourself in the [playground](/models/google/gemini-3.1-t2i).

City Skyline

“Photorealistic sunset over futuristic city skyline with neon lights reflecting on glass towers, cinematic lighting, 16:9 aspect ratio, 2K resolution”

Product Mockup

“Sleek smartphone on marble surface with 'Nano Banana 2' text logo, studio lighting, product photography style, sharp text rendering, 1:1 aspect ratio”

Mountain Landscape

“Majestic snow-capped mountains at dawn with mist in valley, anamorphic lens flare, photorealistic, ultra-wide 21:9, 4K resolution”

Abstract Architecture

“Modern brutalist building interior with geometric shadows, warm golden hour light, high detail, architectural render, 9:16 vertical”

For Developers

A few lines of code.
Images in four lines.
---

ModelsLab handles the infrastructure: fast inference, auto-scaling, and a developer-friendly API. No GPU management needed.

- **Serverless:** scales to zero, scales to millions
- **Pay per image,** no minimums
- **Python and JavaScript SDKs,** plus REST API

[API Documentation ](https://docs.modelslab.com)

PythonJavaScriptcURL

Copy

```
<code>import requests

response = requests.post(
    "https://modelslab.com/api/v7/images/text-to-image",
    json={
  "key": "YOUR_API_KEY",
  "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 is on Modelslab",
  "aspect_ratio": "1:1"
}
)
print(response.json())</code>
```

FAQ

Common questions about Nano Banana 2 Text To Image
---

[Read the docs ](https://docs.modelslab.com)

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

### How fast is Nano Banana 2 Text To Image API?

### Does Nano Banana 2 Text To Image model render text accurately?

### What aspect ratios does Nano Banana 2 Text To Image support?

### Is there a Nano Banana 2 Text To Image alternative?

### Can Nano Banana 2 Text To Image use web search?

Ready to create?
---

Start generating with Nano Banana 2 Text To Image on ModelsLab.

[Try Nano Banana 2 Text To Image](/models/google/gemini-3.1-t2i) [API Documentation](https://docs.modelslab.com)

---

*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-04-15*