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

输入

$0.45$0.5000

10% off

1M tokens

输出

$54$60.0000

10% off

1M tokens

模型代码gemini-3.1-flash-image-preview

试玩区

gemini-3.1-flash-image-preview
参考图片0/14

Click or drag

分辨率 (sent to backend)

Aspect Ratio (sent to backend)

暂无输出

定价

方案上下文窗口最大输出输入输出缓存写入缓存读取
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

查看 API 文档以获取请求格式、参数说明和集成方式。

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

模型代码

gemini-3.1-flash-image-preview

查看 API 文档

API

端点

POST /v1/images/create

认证

Authorization: Bearer YOUR_REACH_API_KEY
Content-Type: application/json

示例

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"
    }
  }'