google 的網站圖示

Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)

google/gemini-3.1-flash-image-preview

Gemini 3.1 Flash Image Preview, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines advanced contextual understanding with fast, cost-efficient inference, making complex image generation and iterative edits significantly more accessible. Aspect ratios can be controlled with the image_config API Parameter

模態
輸入/輸出價格
US$0.50 / US$60每 1M
上下文
66K
發布日期
2026年2月26日

試驗場

基準測試

標準化評估的分數,以及此模型對共用基準測試提示詞的實際輸出。百分比越高越好,而每個排名顯示此模型在該來源所評估模型中的名次。

Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) 的基準測試輸出摘要

  • Full wine glass: A wine glass filled to the brim with white wine, the surface level with the rim of the glass, standing upright on a plain wooden table. Straight-on eye-level shot, glass upright and not tilted, no other objects in the frame. (此提示詞共 60 名,並列第 第 1 名 名)
  • Closed umbrellas: Wide street-level photograph of about twelve people crossing a city street in heavy rain. Every person is carrying a closed, furled umbrella held down at their side. Not a single umbrella is open. Each umbrella is clearly visible. They are all getting soaked. No other people in the frame. (此提示詞共 61 名,並列第 第 34 名 名)
  • Three fingers: Close straight-on photograph of an open right hand raised palm towards the camera, with exactly three fingers extended straight up and the other two folded down into the palm. Plain background, nothing else in the frame. (此提示詞共 61 名,並列第 第 1 名 名)
  • Cards & dice: Exactly four playing cards face up in a single straight row on a polished marble counter, evenly spaced, all the same size, showing the seven of hearts, the eight of spades, the nine of diamonds and the ten of clubs from left to right. No other objects in the frame. Straight-on eye-level shot, soft even light. (此提示詞共 60 名,並列第 第 1 名 名)
  • Long exact string: A white A4 poster on a brick wall reading exactly "SPRING CLEARANCE - EVERYTHING 40% OFF - SATURDAY 14 JUNE, 9AM TO 6PM". No other text in the frame. (此提示詞共 60 名,並列第 第 1 名 名)
  • Multiple languages: Straight-on photograph of a white overhead directional sign in an international airport terminal, with a black arrow pointing right at the left end. The sign carries the same word in four scripts on four stacked lines, in this order from top to bottom: "DEPARTURES", then the Japanese 出発, then the Korean 출발, then the Arabic المغادرة. Clean sans-serif lettering, sharp focus, no other text anywhere in the frame. (此提示詞共 60 名,並列第 第 32 名 名)
  • Occlusion: Straight-on eye-level photograph of a plain wooden desk. On the left, a closed hardcover book with a dark red cover stands upright, its front cover facing the camera. A blue ceramic mug stands on the desk to the right of the book and clearly further back, about 20 cm behind it, positioned so that the right edge of the book overlaps and hides the left third of the mug. The mug's handle points to the right and the whole rim of the mug is visible. Bare desk surface is visible between the book and the mug. Nothing else on the desk. Plain wall behind, soft even light. (此提示詞共 60 名,並列第 第 1 名 名)
  • Mirror: Straight-on eye-level photograph of a bathroom vanity. A large rectangular mirror covers the wall behind the counter and its bottom edge meets the countertop, so both the objects and their reflections are visible. On the counter, a tall red toothbrush cup on the left and a tall green glass bottle on the right, both roughly 20 cm tall and well apart from each other. The mirror reflects the counter and the objects on it accurately. Nothing else in the frame. (此提示詞的排名:第 1 名,共 60 名)
  • Plain zebra: Photograph of a zebra standing side-on in short grass. Its coat is a uniform solid grey with no stripes, no bands and no markings of any kind anywhere on its body. The whole animal is visible. Sharp focus. (此提示詞共 61 名,並列第 第 1 名 名)
  • Times Square: Wide street-level photograph of Times Square in New York at night, wet asphalt reflecting the lights. Every billboard, screen, storefront window, awning, taxi door and road marking is completely blank — lit with plain colour fields and soft gradients only. No letters, no words, no numbers, no logos, no lettering of any kind anywhere in the frame. Sharp focus, straight-on shot. (此提示詞共 60 名,並列第 第 11 名 名)
  • Minimal diff: From the reference photo, change only the sign text to "ROUTE 7 ESPRESSO - OPEN TILL 8". Keep the sign, wall, lighting and framing identical. (此提示詞共 62 名,並列第 第 5 名 名)
  • Object removal: Remove only the second cup from the left in the reference photo. Leave the other four cups exactly as they are, in the same positions, and leave the shelf, towel, wall, plant and lighting untouched. (此提示詞共 62 名,並列第 第 1 名 名)
  • Person removal: In the reference photo, remove only the person in the yellow coat. Their shadow on the pavement and their reflection in the shop window must be removed as well. Reconstruct the pavement and the window glass behind them. The person in the red coat and the person in the green coat must stay completely unchanged, including their own shadows and their own reflections. Change nothing else in the frame. (此提示詞共 62 名,並列第 第 27 名 名)
  • Product placement: Product photograph of the ceramic mug from the reference image, standing upright on a café table. Show the same side of the mug, from the same side-on eye-level angle as the reference, with the handle on the right. The shape, proportions, colours, moulded relief and every painted detail must match the reference exactly. Only the setting and lighting change: soft daylight in a café interior, shallow depth of field. (此提示詞共 62 名,並列第 第 1 名 名)
  • Four references: Place the person from the portrait reference at the desk in the scene reference, wearing the rust orange canvas jacket from its reference and holding the navy blue travel mug from its reference in one hand. Keep the face, the jacket and the mug exactly as they appear in the references — same colours, same details, same proportions. Do not change the room. (此提示詞共 62 名,並列第 第 24 名 名)
  • Portraits: Studio headshot of a woman in a charcoal blazer against a mid-grey seamless backdrop, lit by a large softbox slightly above and to the left with a soft fill from the right, catchlights in both eyes. An 85mm look with shallow depth of field, skin texture and flyaway hairs kept rather than smoothed.
  • People in scenes: Photograph of four cooks working the pass in a restaurant kitchen at service, plating three dishes at once, several hands in frame and some of them overlapping. One cook partly hidden behind another, steam rising into hard overhead light, each face clearly a different person.
  • Animals: Photograph of a tabby cat asleep on a sunlit windowsill, fur lit from behind so the individual hairs glow at the edges, one ear turned toward the camera. Shallow depth of field, a houseplant soft in the background, quiet morning light.
  • Landscape and nature: Photograph of an old-growth temperate rainforest after rain, moss on every trunk and fallen log, ferns dense across the floor, thin fog between the far trees. Overcast light with no direct sun, everything from the nearest fern to the last trunk in focus.

供應商

此模型由單一供應商託管。OpenRouter 會直接轉送每個請求,不進行路由選擇。

定價

客戶實際支付此模型的平均價格,與供應商公布的價格並列顯示。快取和折扣使實付價格往往遠低於牌價。

加權平均

輸入
US$0.4998/百萬 token
輸出
US$44.12/百萬 token
價格歷史
此選取範圍沒有實際價格資料

效能

延遲是產生並傳回圖片所需的時間(越低越好)。

端對端延遲
15.96秒

P50,最佳供應商

正常運作時間

正常運作時間是指過去 3 天中,至少有一家供應商回應請求的時間百分比。可用性是指成功提供推論服務的時間百分比。OpenRouter 會持續監控,並在供應商傳回錯誤時使用次佳供應商。

正常運作時間(3 天)模型可連線。請求已路由至供應商。
99.99%
可用性(3 天)模型從任一供應商傳回推論結果。錯誤和空白回應均會降低此指標。
99.46%

過去 3 天的可用性

過去 72 小時
可用率 99.46%
3 天前2 天前昨天現在

過去 24 小時的可用性

OpenRouter Availability
99.42%

當上游供應商發生錯誤時,只要您的請求篩選條件允許,我們就能將請求路由至其他正常運作的供應商以復原服務。您可以透過程式,使用以下 API 存取各供應商的正常運作時間資料: 端點 API。進一步瞭解我們的 負載平衡與供應商路由選項。

應用程式

向此模型傳送最多流量的公開應用程式。這能有效反映實際正式環境的工作負載樣貌,也能提示此模型最適合哪些使用情境。

1.
188Mtoken
2.
97.3Mtoken
3.
https://bloha.ai/ 的網站圖示
Bloha
全新
80.8Mtoken
4.
55.9Mtoken
5.
https://openclaw.ai/ 的網站圖示
OpenClaw
42.9Mtoken
OpenRouter 其他部分
28.3M
前 5 大應用程式
2.81M

使用情形

此模型的 token 用量與請求流量隨時間的變化。

API

可直接用於呼叫此模型的程式碼。OpenRouter 的 API 與 OpenAI 相容,只需替換基底 URL 即可使用大多數 SDK。切換模型時,唯一需要變更的是下方的模型 slug。

目前無法透過歐盟區域內路由使用。 區域內路由文件

說明文件

在 OpenRouter 上使用 Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) 開發的指南、實作食譜、部落格文章與工具。

常見問題