新帳號 免費註冊,送 10 次呼叫,最高 $1,免綁卡。

Gemini Nano Banana 2.1 vs GPT Image 2

vs

什麼情況選哪一個

兩者的圖片輸出都是每百萬 token $30,因此差別在輸入價格,以及各自能接受的內容。gemini-nano-banana-2.1 每百萬輸入 token $1.5,gpt-image-2 為 $5;前者除了文字和圖片也接受影片,最多可附 14 張參考圖片,並能在圖片之外一併回傳文字。gpt-image-2 提供搭配遮罩局部重繪的編輯功能,解析度可自由指定,邊長最高 3840 像素;gemini-nano-banana-2.1 提供的則是固定長寬比下的 1K、2K 與 4K。參考圖片多或需要多輪修改時請選 gemini-nano-banana-2.1,需要遮罩編輯與自訂尺寸時請選 gpt-image-2。

定價

Gemini Nano Banana 2.1 GPT Image 2 Δ
輸入 / 1M tokens $1.5 $5 0.3×
輸出 / 1M tokens $30 $30 =

費率取自網站建置時的即時目錄;各模型頁面都列有最新的價目。

兩者的相對位置:每 1M tokens 的輸出價格,涵蓋同一計費單位下全部 11 個圖像生成模型(對數尺度)

規格

Gemini Nano Banana 2.1 GPT Image 2
輸入模態 文字 圖像 影片 文字 圖像
輸出模態 文字 圖像 圖像
發布日期 2026-10-06 2026-04-21
輸出尺寸
  • 1K (about 1 MP)
  • 2K (about 4 MP)
  • 4K (about 16 MP)
  • 1024x1024
  • 1536x1024
  • 1024x1536
  • 2048x2048
  • 2048x1152
  • 3840x2160
  • 2160x3840
  • auto
  • arbitrary WxH (both divisible by 16, aspect ratio 1:3-3:1)
輸入方式 text-to-image, single-turn and multi-turn editing, up to 14 reference images text-to-image, image edit with mask inpainting
每次請求圖片數 - 10
格式 - png, jpeg, webp
備註

1K, 2K and 4K output at fifteen aspect ratios (1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 9:21, 1:4, 4:1, 1:8, 8:1)

up to 14 reference images per request

single-turn editing and multi-turn conversational iteration

Flexible resolutions: edges up to 3840px in multiples of 16, ratio <=3:1, ~0.65-8.3MP total (incl. 4K 3840x2160)

editing with mask inpainting

all image inputs processed at high fidelity

significantly improved text rendering (precise placement can still struggle)

規格摘錄自各供應商的文件;供應商沒有公布的項目就直接略過,不自行推測。 完整來源: Gemini Nano Banana 2.1 · GPT Image 2

同一段提示詞,兩個模型,經閘道實測

提示詞 A weathered enamel diner mug on a steel counter, the words "OPEN 24H" stencilled on the mug in worn paint, low winter sun raking in from the left, shallow depth of field.

Gemini Nano Banana 2.1

Gemini Nano Banana 2.1: A weathered enamel diner mug on a steel counter, the words "OPEN 24H" stencilled on the mug in worn paint, low winter sun raking in from the left, shallow depth of field.

模型回傳 1376×768 延遲 11 s

GPT Image 2

GPT Image 2: A weathered enamel diner mug on a steel counter, the words "OPEN 24H" stencilled on the mug in worn paint, low winter sun raking in from the left, shallow depth of field.

模型回傳 1402×1122 延遲 18 s

同一段提示詞,每個模型只送一次請求,不重試,也不挑比較好的結果,看到的就是各模型回傳的第一個結果。尺寸和長度都沒有指定,各模型用的是自己的預設值;如果硬把請求調成每個模型都適用的規格,反而誰的長處都看不出來。這裡的檔案都為了網頁重新編碼過,所以請看構圖和有沒有照提示詞做,不要拿來評斷壓縮品質。

改一行程式碼就能在兩者之間切換

下面每個頁籤都列了這兩個模型 ID,要改的只有醒目標示的那兩行。端點、金鑰和請求格式都不變。

from openai import OpenAI

client = OpenAI(
    base_url="https://synthorai.io/v1",
    api_key="sk-syn-...",
)

resp = client.images.generate(
    model="gemini-nano-banana-2.1",
    # model="gpt-image-2",  # 取消這一行的註解,並把上一行註解掉
    prompt="a watercolor lighthouse at dawn",
    size="1024x1024",
)
print(resp.data[0].b64_json[:80])

取得 API 金鑰 →

常見問題

Gemini Nano Banana 2.1 和 GPT Image 2 哪個比較便宜?

以「輸入 / 1M tokens」來看,Gemini Nano Banana 2.1 比較便宜($1.5 對 $5,相差 3.3×)。其他項目的結果可能相反,完整價目請看上表;實際成本要看你的用量組合。

可以只串接一次,就對 Gemini Nano Banana 2.1 和 GPT Image 2 做 A/B 測試嗎?

可以。兩個模型都走同一個 OpenAI 相容端點,用的也是同一把 API 金鑰,切換時只要改一行裡的模型名稱字串。你可以把一部分流量分別導到兩邊,再直接比較帳單。

價格會隨圖片大小改變嗎?

要看模型怎麼計費。按張計費的模型,不管提示詞長短或輸出尺寸,每張收費都一樣;按 token 計費的模型,費用會隨生成的解析度增加,所以一張 4K 圖片的成本會是小圖的好幾倍。各模型適用哪一種,上表都有標示。

相關比較