megachangelog
Announcement

Gemini 3.1 Flash Image Preview (Nano Banana 2) now available on AI Gateway

Gemini 3.1 Flash Image Preview (Nano Banana 2) is now live on Vercel's AI Gateway with improved visual quality, Google Image Search grounding, configurable thinking levels, and new resolutions/aspect ratios. The model supports multimodal text and image generation with enhanced reasoning capabilities.

Gemini 3.1 Flash Image Preview (Nano Banana 2) is now available on AI Gateway.

This release improves visual quality while maintaining the generation speed and cost of flash-tier models.

Nano Banana 2 can use Google Image Search to ground outputs in real-world imagery. This helps with rendering lesser-known landmarks and objects by retrieving live visual data. This model also introduces configurable thinking levels (Minimal and High) to let the model reason through complex prompts before rendering. New resolutions and new aspect ratios (512p, 1:4 and 1:8) are available alongside the existing options to expand to support more types of creative assets.

To use this model, set model to in the AI SDK. Nano Banana 2 is a multimodal model. Use `streamText` or `generateText` to generate images alongside text responses. This example shows how the model can use web search to find live data.google/gemini-3.1-flash-image-preview

You can also change the thinking level: in this example, thinking is set to for a more thorough response. high

AI 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 , support, and intelligent provider routing with automatic retries.observabilityBring Your Own Key

Learn more about , view the or try it in our .AI GatewayAI Gateway model leaderboardmodel playground

Read more

ai-gatewaygeminiimage-generationmultimodalgoogle

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Announcement2026.10.19

Updates to Hobby and Pro Terms of Service

Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.

termsbillingcreditspolicylegal
Announcement

Mercury 3 now available on AI Gateway

Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.

ai-gatewaymodelsinferencellmlaunch
Announcement

MiniMax M3.1 Flash now available on AI Gateway for free

MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.

ai-gatewaymodelscodingagentsapi
See all Vercel changes →