Google圖片

Nano Banana 2

google/nano-banana-2

Generate one image from a prompt or edit up to 14 reference images. Choose 1K, 2K, or 4K output.

Nano Banana 2 是 Google 推出的 AI 圖片生成模型。可透過 Kerox API 以模型 ID google/nano-banana-2 呼叫,或在 Studio 中直接生成,無需撰寫程式碼。在 Kerox 上的價格為 $0.0250 / 圖片,比官方價格低 62% 起,無需訂閱。

$0.0250 起每張圖片$0.0670比官方價格低 62%

1K $0.0250 每張圖片 · 2K $0.0300 每張圖片 · 4K $0.0400 每張圖片

輸出
圖片 · 1K, 2K, 4K
影片長度
—
一般生成時間
—
輸入
文字, 圖片

試用 Nano Banana 2

0
登入以新增參考檔案
預估費用 —
登入以生成

開始時先暫時保留款項,完成後才結算。執行失敗會退款。

輸出

範例
Editorial photograph of a blue kingfisher perched above a quiet pond, square composition, natural light, no lettering.

1024×1024

Editorial photograph of a blue kingfisher perched above a quiet pond, square composition, natural light, no lettering.

預估費用 ≈ $0.0250

請求本文
{
  "model": "google/nano-banana-2",
  "format": "unified",
  "input": {
    "prompt": "Editorial photograph of a blue kingfisher perched above a quiet pond, square composition, natural light, no lettering.",
    "resolution": "1K",
    "aspect_ratio": "1:1"
  }
}

從程式碼呼叫

提交任務以取得任務 ID。輪詢結果,或傳入 Webhook URL 以接收已完成的任務。

端點POST https://api.kerox.ai/v1/tasks
curl 'https://api.kerox.ai/v1/tasks' \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-binary '{
  "model": "google/nano-banana-2",
  "input": {
    "prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
    "resolution": "1K"
  }
}'
回應範例
{
  "id": "task_01JD8X9B4Q2M7T8N3K5P6R1S0V",
  "object": "task",
  "model": "google/nano-banana-2",
  "status": "processing"
}

可傳送的內容

所有參數皆使用統一名稱,各模型通用。

參數類型必填預設值可用值用途
promptstring必填——Prompt
imagesstring | string[]———Reference images
aspect_ratiostring—"1:1"1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 21:9, 1:4, 4:1, 1:8, 8:1Aspect ratio
resolutionstring—"1K"1K, 2K, 4KResolution
ninteger—11Number of outputs

尚未支援: seed, output_format, n

定價

  • 1 張圖片 · 1K

    $0.0250

    $0.0670比官方價格低 62%

  • 1 張圖片 · 2K

    $0.0300

    $0.1010比官方價格低 70%

  • 1 張圖片 · 4K

    $0.0400

    $0.1510比官方價格低 73%

常見用量
輸出官方價格Kerox可省下
1 張圖片 · 1K$0.0670$0.025062%
1 張圖片 · 2K$0.1010$0.030070%
1 張圖片 · 4K$0.1510$0.040073%
$10 可以生成400 張圖片(1K)
等級官方價格Kerox
1K$0.0670$0.0250
2K$0.1010$0.0300
4K$0.1510$0.0400

送出任務前,可使用 POST /v1/estimate 取得報價。

使用 Nano Banana 2 製作

Editorial photograph of a blue kingfisher perched above a quiet pond, square composition, natural light, no lettering.

Editorial photograph of a blue kingfisher perched above a quiet pond, square composition, natural light, no lettering.

1024×1024使用提示詞
Editorial photograph of a yellow tram winding through a coastal village, square composition, natural light, no lettering.

Editorial photograph of a yellow tram winding through a coastal village, square composition, natural light, no lettering.

2048×2048使用提示詞
Editorial photograph of a ceramic teapot on an oak table, morning light, square composition, natural light, no lettering.

Editorial photograph of a ceramic teapot on an oak table, morning light, square composition, natural light, no lettering.

4096×4096使用提示詞

關於 Nano Banana 2

Generate one image from a prompt or edit up to 14 reference images. Choose 1K, 2K, or 4K output.

常見問題

Nano Banana 2 的價格是多少?

在 Kerox 上,Nano Banana 2 的價格從 $0.0250 / 圖片 起,比官方價格低 62%。按次計費,生成失敗不收費。本頁的價格表列出了所有選項。

Nano Banana 2 有提供 API 嗎?

有。使用模型 ID google/nano-banana-2 向 Kerox API 提交任務,再輪詢任務狀態,或在任務完成時接收 Webhook 通知。Nano Banana 2 的 API 文件 列出所有參數,並附有程式碼範例。

不寫程式碼也能在線上使用 Nano Banana 2 嗎?

可以。在本頁的生成面板中調整生成選項,即可查看價格。登入後即可開始生成。 試用

使用 Nano Banana 2 需要訂閱嗎?

不需要。沒有方案,也沒有月費。最低儲值 $5,只需為實際生成的內容付費。

如何使用 Nano Banana 2?

登入 Kerox,在 Studio 中開啟 Nano Banana 2,輸入提示詞,即可在瀏覽器中生成。若要透過程式碼使用,請建立 API 金鑰,並以模型 ID google/nano-banana-2 送出任務。

Nano Banana 2 可以免費使用嗎?

Nano Banana 2 是 Kerox 上的付費模型:每次成功生成皆依本頁價格計費,生成失敗不收費。沒有月費,最低儲值 $5 即可開始使用。

類似模型

使用 Nano Banana 2.1 製作圖片
Nano Banana 2.1−50%
$0.0170/ 張圖片$0.0340
使用 Nano Banana 2 Lite 製作圖片
Nano Banana 2 Lite−58%
$0.0140/ 張圖片$0.0340
使用 Seedream 5.5 製作圖片
Seedream 5.5−20%
$0.0160/ 張圖片$0.0200