google·chat· vision

Gemini 3.1 Flash Image Preview (Nano Banana 2)

google/gemini-3.1-flash-image-preview

Google's multimodal image-generation model — image output straight from the prompt.

At a glance

  • · $0.50 input / $3.00 output per 1M tokens (provider list price, billed in credits)
  • · Context window: 32,000 tokens
  • · OpenAI-compatible — model: "google/gemini-3.1-flash-image-preview" (provider: google)
  • · Best for: Generates images as part of a chat response — no extra endpoint

Strengths

  • +Generates images as part of a chat response — no extra endpoint
  • +Can iteratively refine with text context and image input
  • +Cheap compared to Imagen 4 or Flux Pro

Weaknesses

  • Lower detail quality than Imagen 4 or Flux Pro 1.1
  • Weaker at text-in-image than dedicated image models

Use cases

  • Image generation as part of a chat agent
  • Iterative image refinement with natural language
  • Fast mockups and concept images

Alternatives in the catalog

How to call it

Drop-in OpenAI-compatible. Just swap the `model` string and you're using this model.

curl https://www.getmorecredits.com/v1/chat/completions \
  -H "Authorization: Bearer $GMC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.1-flash-image-preview",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Good for

Frequently asked questions

How much does Gemini 3.1 Flash Image Preview (Nano Banana 2) cost?

Input is $0.50 per million tokens; output is $3.00 per million tokens — provider list price. On getmorecredits.com you pay in credits, no subscription, no minimum spend.

What's the context window of Gemini 3.1 Flash Image Preview (Nano Banana 2)?

Gemini 3.1 Flash Image Preview (Nano Banana 2) accepts up to 32,000 input tokens. That fits long conversations and medium documents into a single call.

What can Gemini 3.1 Flash Image Preview (Nano Banana 2) do?

Gemini 3.1 Flash Image Preview (Nano Banana 2) supports image input (vision). Google's multimodal image-generation model — image output straight from the prompt.

Is Gemini 3.1 Flash Image Preview (Nano Banana 2) OpenAI-compatible?

Yes. On getmorecredits.com you call Gemini 3.1 Flash Image Preview (Nano Banana 2) with the same request shape as OpenAI: POST /v1/chat/completions with "model": "google/gemini-3.1-flash-image-preview". Existing OpenAI SDKs (Python, Node, etc.) work by changing the base URL and API key.