Skip to main content
Gemini 3.1 Flash Image Preview

Gemini 3.1 Flash Image Preview

Google's high-efficiency preview image model for fast generation, conversational editing, and grounded visual workflows.

PreviewHigh ThroughputSearch Grounding

Input Types

Text + image / PDF

Image generation and editing

Context Window

131,072

Output up to 32,768 tokens

Search Grounding

Supported

Text and image search grounding

Resolution Pricing

0.5K / 1K / 2K / 4K

Priced per generated image

Input

$0.45$0.5000

10% off

1M tokens

Output

$54$60.0000

10% off

1M tokens

Model Codegemini-3.1-flash-image-preview

Playground

gemini-3.1-flash-image-preview
Reference Images0/14

Click or drag

Resolution (sent to backend)

Aspect Ratio (sent to backend)

No output yet

Pricing

PlanContext WindowMax OutputInputOutputCache WriteCache Read
gemini-3.1-flash-image
--
$0.45$0.500010% off

1M tokens

$54$60.000010% off

1M tokens

--

Pricing follows the existing ReachAPI Gemini image pricing memo used for Nano Banana 2.

Google's current model docs note new 0.5K, 2K, and 4K output options plus text and image search grounding support.

README

Gemini 3.1 Flash Image Preview is Google's mainstream-price preview image model, optimized for low-latency generation, conversational editing, and high-throughput visual workflows.
  • Google describes Gemini 3.1 Flash Image Preview as a high-quality, mainstream-price image model for fast generation and conversational editing.
  • The model supports text, image, and PDF inputs; image and text outputs; search grounding; thinking; and a 131,072 token input limit with up to 32,768 output tokens.
  • On ReachAPI, this raw Google model slug maps to the same high-efficiency image workflow also surfaced under the Nano Banana 2 product naming.

API

Use the API docs for request format, parameters, and integration details.

Google's high-efficiency preview image model for fast generation, conversational editing, and grounded visual workflows.

Model Code

gemini-3.1-flash-image-preview

View API Docs

API

Endpoint

POST /v1/images/create

Authentication

Authorization: Bearer YOUR_REACH_API_KEY
Content-Type: application/json

Example

curl -X POST "https://direct.reachapi.ai/v1/images/create" \
  -H "Authorization: Bearer YOUR_REACH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "nanobanana-2",
    "input": {
      "prompt": "A futuristic city at sunset, cinematic lighting, highly detailed",
      "aspect_ratio": "16:9",
      "resolution": "2k",
      "output_format": "png"
    }
  }'