Gemini 3.1 Flash Image Preview
Google's high-efficiency preview image model for fast generation, conversational editing, and grounded visual workflows.
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% off1M tokens
Output
$54$60.0000
10% off1M tokens
gemini-3.1-flash-image-previewPlayground
gemini-3.1-flash-image-previewClick or drag
Resolution (sent to backend)
Aspect Ratio (sent to backend)
No output yet
Pricing
| Plan | Context Window | Max Output | Input | Output | Cache Write | Cache 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
- 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
Google's high-efficiency preview image model for fast generation, conversational editing, and grounded visual workflows.
Model Code
gemini-3.1-flash-image-preview
API
Endpoint
POST /v1/images/createAuthentication
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"
}
}'Related Models
Gemini 3.1 Pro Preview
Google's preview model for the most complex reasoning and agentic workflows.
Gemini 3 Pro Image Preview
Google's highest-quality preview image model for professional asset generation, editing, and grounded visual production.
Gemini 2.5 Flash
Google's price-performance Gemini model for balanced, multimodal production workloads.
Gemini 2.5 Flash Image
Google's high-velocity native image model for low-latency generation and conversational editing.
Gemini 2.5 Flash Lite
Google's low-latency Gemini model for cost-sensitive, high-volume workloads.
Gemini 2.5 Pro
Google's most advanced reasoning Gemini model for complex multimodal problem solving.
