{"slug": "nano-banana-2-1-now-available-on-ai-gateway", "title": "Nano Banana 2.1 now available on AI Gateway", "summary": "Google's Nano Banana 2.1 image generation and editing model is now available on Vercel's AI Gateway under the model ID google/gemini-nano-banana-2.1, Vercel announced. The release improves on earlier Nano Banana models with product recontextualization, mask- and ink-based editing, and factuality, rendering photorealistic skin tones, intricate materials, sharp lighting, and coherent backgrounds at the latency and cost of a Flash-tier model. Developers can call Nano Banana 2.1 through the AI SDK, the OpenAI-compatible Chat Completions API, or the open-source AI CLI from Vercel Labs, with generated images returned in result.files.", "body_md": "[Nano Banana 2.1](https://vercel.com/ai-gateway/models/gemini-nano-banana-2.1) from [Google](https://vercel.com/ai-gateway/models/providers/google) is now available on [AI Gateway](https://vercel.com/ai-gateway). It improves image generation and editing over earlier Nano Banana models.\n\nThis release targets product recontextualization, mask- and ink-based editing, and factuality. Product recontextualization places an existing product in a new scene. Mask- and ink-based edits change only the region marked by a mask or by strokes drawn on the image. Factuality is how accurately images depict real-world subjects.\n\nThe model renders photorealistic skin tones, intricate materials, sharp lighting, and coherent backgrounds at the latency and cost of a Flash-tier model.\n\nCall it through the [AI SDK](https://vercel.com/docs/ai-gateway/modalities/image-generation/ai-sdk) or the OpenAI-compatible [Chat Completions API](https://vercel.com/docs/ai-gateway/sdks-and-apis/openai-chat-completions/image-generation), or the [AI CLI](https://github.com/vercel-labs/ai-cli). AI CLI is an open-source command-line tool from Vercel Labs for generating text, images, video, and audio from your terminal. It runs on AI Gateway, so any Gateway model ID works with -m.\n\nUse `google/gemini-nano-banana-2.1` as the model name. Generated images are returned in `result.files`:\n\nTry Nano Banana 2.1 in the [model playground](https://vercel.com/ai-gateway/models/gemini-nano-banana-2.1).\n\nAI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in [custom reporting](https://vercel.com/changelog/custom-reporting-ai-gateway), [Zero Data Retention support](https://vercel.com/blog/zdr-on-ai-gateway), [budgets for API keys](https://vercel.com/docs/ai-gateway/authentication-and-byok/api-keys), [routing rules](https://vercel.com/docs/ai-gateway/models-and-providers/routing-rules), and more.\n\nAI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on [Bring Your Own Key](https://vercel.com/docs/ai-gateway/authentication-and-byok/byok) (BYOK) requests.\n\nYou can view [all image models](https://vercel.com/ai-gateway/models?type=image) available on AI Gateway.", "url": "https://wpnews.pro/news/nano-banana-2-1-now-available-on-ai-gateway", "canonical_source": "https://vercel.com/changelog/nano-banana-2-1-now-available-on-ai-gateway", "published_at": "2026-10-06 00:00:00+00:00", "updated_at": "2026-10-06 16:48:55.832852+00:00", "lang": "en", "topics": ["generative-ai", "ai-products", "ai-tools", "artificial-intelligence"], "entities": ["Google", "Nano Banana 2.1", "Vercel", "AI Gateway", "AI SDK", "Chat Completions API", "AI CLI", "Vercel Labs"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/nano-banana-2-1-now-available-on-ai-gateway", "markdown": "https://wpnews.pro/news/nano-banana-2-1-now-available-on-ai-gateway.md", "text": "https://wpnews.pro/news/nano-banana-2-1-now-available-on-ai-gateway.txt", "jsonld": "https://wpnews.pro/news/nano-banana-2-1-now-available-on-ai-gateway.jsonld"}}