Skip to content

Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)

Google
google/gemini-3.1-flash-image-preview

About this model

Gemini 3.1 Flash Image Preview, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines...

Make a request

OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.

curl https://promptix.tn/api/v1/chat/completions \  -H "Authorization: Bearer $PROMPTIX_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "google/gemini-3.1-flash-image-preview",    "messages": [      {"role": "user", "content": "Hello! What can you do?"}    ]  }'

Pricing

In TND per 1M tokens. VAT and the platform fee are added at top-up.

Input tokens

1.661 TND

per 1M tokens

Output tokens

9.968 TND

per 1M tokens

1,000 requests with 1K input and 500 output tokens cost about 6.645 TND.

Specifications

Provider
Google
Context window
65,536 tokens
Input modality
Text, Image
Added
Feb 26, 2026
Supported parameters
include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstemperature