Nano Banana 2 (Gemini 3.1 Flash Image Preview)

google/gemini-3.1-flash-image-preview
视觉JSON推理
来自 Google · 2026-02-26

Gemini 3.1 Flash Image Preview(又名“Nano Banana 2”)是 Google 最新的先进图像生成和编辑模型,能以 Flash 速度提供 Pro 级视觉质量。它结合了……

上下文65.5K tokens
输入模态image + text
输出模态image + text
p50 首字节10.00 s
输入/ 百万 tokens
输出/ 百万 tokens
p50 首字节10.00 s7 天
p95 首字节10.00 s7 天
流量172.6Ktokens / 7 天

Google:Nano Banana 2 是一款多模态模型,可同时处理图像和文本输入。它基于 Gemini 3.1 Flash 架构,强调快速推理。该模型接受图像上传(如照片、图表、截图)以及文本提示,并生成文本响应。其上下文窗口为 65,536 个 token,能够保留并处理中等长度的文档或图像序列。该模型托管在 OrcaRouter 上,可使用模型 ID…

什么是 Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)?

这个模型是为谁设计的?

图像和文本输入如何协同工作?

代码示例

用任意 SDK 调用

  • Gemini SDKhttps://api.orcarouter.ai

支持的参数

  • include_reasoning
  • max_tokens
  • reasoning
  • response_format
  • seed
  • stop
  • structured_outputs
  • temperature
  • top_p

价格

每次请求$0.1510
货币USD
每次 API 调用统一计费(图像生成模型)

性能

p50 首字节
10.00 s
输出速度
2401 tok/s
p95 首字节
10.00 s
错误率
0.78%

公共基准测试

51.8
AA Coding
优于所参与对比模型中的 72%
第 30 / 共 106
53.8
AA Intelligence
优于所参与对比模型中的 72%
第 31 / 共 110
53.8
AA Math
优于所参与对比模型中的 30%
第 57 / 共 81
GPQA Diamond
50.8 index
MMLU-Pro
58.8 index
τ²-Bench
40.8 index
来源: artificialanalysis.ai

更多 Google 模型

常见问题

这个模型在OrcaRouter上的定价是如何确定的?
定价按token(输入+输出)计算,包含图片token。具体费率请查看OrcaRouter的定价页面。费用根据使用量而变化。
最大上下文窗口大小是多少?
上下文窗口为65,536个词元,包括文本词元和编码图像词元。
这个模型的主要优势是什么?
它将图像理解与文本生成结合在单一、快速的闪速架构中,适用于实时多模态应用。
与GPT-4V或Claude 3 Vision相比如何?
通常更快且可能更便宜,但在复杂的视觉推理任务上可能准确度较低。没有直接的基准测试可用。
OrcaRouter在使用此模型时会处理数据隐私吗?
OrcaRouter的数据处理策略应被审查。通常,API调用通过Google的后端处理;数据可能根据Google的条款保留。请查阅OrcaRouter的隐私文档。
如何使用兼容OpenAI的API调用此模型?
使用 base_url https://api.orcarouter.ai/v1,模型 ID 为 "google/gemini-3.1-flash-image-preview"。向 /chat/completions 发送 POST 请求,消息中包含 image_url 对象。
支持哪些图像格式?
JPEG和PNG等常见格式很可能受支持。接受Base64编码或公共URL。未记录确切的格式限制。
我可以在没有图像的情况下使用这个模型吗?
是的,您可以发送纯文本提示。但该模型为多模态输入设计;纯文本性能可能与标准Flash模型相似。
Known limitations of safety filters include: - **False positives/negatives**: Filters may block harmless content (e.g., educational discussions) or fail to detect nuanced harmful content (e.g., sarcasm, coded language). - **Context blindness**: They often struggle with context-dependent content (e.g., medical vs. recreational drug use). - **Evolving threats**: New, unforeseen attack vectors (e.g., adversarial prompts, "jailbreaking") can bypass filters. - **Bias**: Filters may disproportionately flag certain dialects, marginalized communities, or cultural references. - **Over-reliance**: Heavy filtering risks stifling creativity, humor, or sensitive-but-important dialogues. - **Performance trade-offs**: Stricter filters degrade user experience (e.g., slower responses, lower flexibility). Developers continuously update filters, but no system achieves perfect accuracy.
Google对输入和输出应用安全过滤器。这可能会屏蔽某些图像或文本。OrcaRouter也可能强制执行内容策略。请使用您的内容进行测试。
如何估算图像的 Token 使用量?
图像令牌取决于分辨率和细节。没有提供固定的公式。请监控API响应中的prompt_tokens以评估每个请求的使用量。

嵌入此徽章

Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)价格待定10000ms p50通过 OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/google/gemini-3.1-flash-image-preview" target="_blank"> <img src="https://www.orcarouter.ai/embed/google/gemini-3.1-flash-image-preview.svg" alt="Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) 在 OrcaRouter" /> </a>
Markdown [![Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)](https://www.orcarouter.ai/embed/google/gemini-3.1-flash-image-preview.svg)](https://www.orcarouter.ai/models/google/gemini-3.1-flash-image-preview)

以数据形式获取模型卡

GET /api/public/models/google/gemini-3.1-flash-image-preview打开