---
title: nano-banana-2 API — Nano Banana 價格與規格 | RunAPI
description: 透過 RunAPI 使用 nano-banana-2——Nano Banana 系列。按次計費、model ID、規格與開發者入門指南。
url: https://runapi.ai/zh-TW/models/nano-banana/2.md
canonical: https://runapi.ai/zh-TW/models/nano-banana/2
locale: zh-TW
site: RunAPI
image: https://runapi.ai/assets/opengraph-f702f2b1.png
alternates:
  en: https://runapi.ai/models/nano-banana/2
  zh-CN: https://runapi.ai/zh-CN/models/nano-banana/2
  es: https://runapi.ai/es/models/nano-banana/2
  ja: https://runapi.ai/ja/models/nano-banana/2
  de: https://runapi.ai/de/models/nano-banana/2
  fr: https://runapi.ai/fr/models/nano-banana/2
  pt-BR: https://runapi.ai/pt-BR/models/nano-banana/2
  ko: https://runapi.ai/ko/models/nano-banana/2
  it: https://runapi.ai/it/models/nano-banana/2
  nl: https://runapi.ai/nl/models/nano-banana/2
  pl: https://runapi.ai/pl/models/nano-banana/2
  tr: https://runapi.ai/tr/models/nano-banana/2
  zh-TW: https://runapi.ai/zh-TW/models/nano-banana/2
  zh-HK: https://runapi.ai/zh-HK/models/nano-banana/2
  ar: https://runapi.ai/ar/models/nano-banana/2
  x-default: https://runapi.ai/models/nano-banana/2
model: Nano Banana
provider: Google
variant_id: nano-banana-2
sdk_model_id: nano-banana-2
modality: image
price_from_cents: 8
billing_unit: call
status: active
---

> HTML version: https://runapi.ai/zh-TW/models/nano-banana/2
> Site index for agents: https://runapi.ai/llms.txt


# nano-banana-2 API

透過 RunAPI 使用 Nano Banana 系列的 nano-banana-2。按次計費，無訂閱費，失敗的生成不收費。

**Google / [Nano Banana](https://runapi.ai/zh-TW/models/nano-banana.md)**
**可直接上線 · image · 可商用**

nano-banana-2 在 Nano Banana 系列中，兼顧品質與成本的最佳平衡。

- 以美元按次計費
- 生成失敗不收費
- 模型支援時可串流輸出
- Model skill setup

## 價格

### `text_to_image`

- $0.08-$0.18 / image
- Output resolution: 1k: $0.08 / image
- Output resolution: 2k: $0.12 / image
- Output resolution: 4k: $0.18 / image


失敗的生成不收費

## 技術細節

| Field | Value |
|---|---|
| Model ID | `nano-banana-2` |
| 供應商 | Google |
| 模態 | image |
| 任務類型 | asynchronous |
| 計費單位 | call |
| API endpoint | `/api/v1/nano_banana/text_to_image` |
| 商用授權 | 是 — 已透過 API 包含 |
| 目錄狀態 | 可直接上線 |

**Request example**

```json
{
  "model": "nano-banana-2",
  "prompt": "Create a motivational poster with the text 'Never Give Up' in bold serif, sunset mountains in the background."
}
```

## 快速開始 — nano-banana-2

相同格式 · variant 固定在 model 中

```sh
npx skills add runapi-ai/nano-banana -g
```

```text
Install the Nano Banana skill for this app:

1. Add runapi-ai/nano-banana with the skills installer.
2. Load SKILL.md in this workspace.
3. Use its docs, schemas, pricing notes, and setup steps with model ID nano-banana-2.
4. Confirm the install path when done.
```

## 四步驟使用 nano-banana-2

1. **安裝** — 安裝此 model line 的 model skill。
2. **設定** — 將 model 欄位設定為此頁面顯示的完整 model ID。
3. **呼叫** — 使用您的 prompt、inputs 和 callback 設定送出型別化請求。
4. **接收** — 讀取 RunAPI 的 task 回應、webhook callback 或快取輸出 URL。

## nano-banana-2 有什麼不同

- **VS NANO-BANANA: Built on Gemini 3.1 Flash; best multi-character consistency, 4–8s** — 1K resolution; fast and cheap baseline (Aug 2025)
- **VS NANO-BANANA-2-LITE: Built on Gemini 3.1 Flash; best multi-character consistency, 4–8s** — 最快、成本最低的 Nano Banana 圖像模型，適合快速生成與迭代
- **VS NANO-BANANA-EDIT: Built on Gemini 3.1 Flash; best multi-character consistency, 4–8s** — Prompt-driven image editing from an existing image

## 最適合

- **產品攝影** — 為缺少棚拍照片的電商型錄，自動生成生活風格產品照片。
- **遊戲與概念美術** — 在定稿前快速發想場景與角色概念。
- **編輯插畫** — 大規模生成部落格文章與專欄所需的獨特封面與插圖。

## 關於 nano-banana-2 的常見問題

### 模型 ID 在不同版本之間會保持穩定嗎？

RunAPI 會維持 model ID 穩定，並在不改變請求格式的情況下處理相容版本更新。

### 這個 variant 的速率限制是多少？

每個金鑰的速率限制會依使用方案而調整。請查看定價頁面以了解目前限制。

### 之後可以切換 variant 嗎？

可以——variant 只是旗標。只要變更 model 參數即可切換。

### 它支援串流嗎？

只要支援串流，RunAPI 就會端到端串流。

### 我該在哪裡回報品質問題？

請在公開 GitHub repo 提交 issue，或寄信給支援。


### Nano Banana 的其他 variant

- [nano-banana](https://runapi.ai/zh-TW/models/nano-banana/nano-banana.md) — `nano-banana` · $0.040
- [nano-banana-2-lite](https://runapi.ai/zh-TW/models/nano-banana/2-lite.md) — `nano-banana-2-lite` · $0.040
- [nano-banana-edit](https://runapi.ai/zh-TW/models/nano-banana/edit.md) — `nano-banana-edit` · $0.040
- [nano-banana-pro](https://runapi.ai/zh-TW/models/nano-banana/pro.md) — `nano-banana-pro` · $0.180

### 其他模型的替代方案

- [Flux](https://runapi.ai/zh-TW/models/flux.md) — Flux 圖像 API：Dev、Pro 與 2 Klein 支援文生圖，Dev 與 Pro 支援單圖編輯。
- [Flux 2](https://runapi.ai/zh-TW/models/flux-2.md) — Text-to-image and remix-image with strong prompt adherence from Black Forest Labs.
- [Flux Kontext](https://runapi.ai/zh-TW/models/flux-kontext.md) — In-context image editing — local edits, style transfer, and character-consistent generation.

## 開始使用 Nano Banana 進行開發。

- [建立免費帳戶](https://runapi.ai/zh-TW/login)
- [閱讀快速入門 →](https://runapi.ai/docs/api/nano-banana/text-to-image)

---

## More from RunAPI

- [Home](https://runapi.ai/zh-TW/.md)
- [模型](https://runapi.ai/zh-TW/models.md)
- [AI 影片 API 比較](https://runapi.ai/zh-TW/ai-video-api-comparison.md)
- [OpenClaw 整合](https://runapi.ai/zh-TW/openclaw.md)
- [OpenClaw 最佳 API](https://runapi.ai/zh-TW/best-api-for-openclaw.md)
- [OpenClaw 圖片生成](https://runapi.ai/zh-TW/openclaw-image-generation.md)
- [Hermes Agent 整合](https://runapi.ai/zh-TW/hermes-agent.md)
- [價格](https://runapi.ai/zh-TW/pricing.md)
- [Claude API 價格](https://runapi.ai/zh-TW/claude-api-pricing.md)
- [ChatGPT API 價格](https://runapi.ai/zh-TW/chatgpt-api-pricing.md)
- [OpenAI API 價格](https://runapi.ai/zh-TW/openai-api-pricing.md)
- [Gemini API 價格](https://runapi.ai/zh-TW/gemini-api-pricing.md)
- [Claude Code 價格](https://runapi.ai/zh-TW/claude-code-pricing.md)
- [Claude Code API](https://runapi.ai/zh-TW/claude-code-api.md)
- [Claude Code 對比 Cursor](https://runapi.ai/zh-TW/claude-code-vs-cursor.md)
- [Claude Max 對比 API](https://runapi.ai/zh-TW/claude-max-vs-api.md)
- [Requesty 替代方案](https://runapi.ai/zh-TW/requesty-alternative.md)
- [文件](https://runapi.ai/zh-TW/docs/guides)
- [SDK](https://runapi.ai/zh-TW/sdk.md)
- [技能](https://runapi.ai/zh-TW/skills.md)
- [MCP Server](https://runapi.ai/zh-TW/mcp.md)
- [CLI](https://runapi.ai/zh-TW/cli.md)
- [意見回饋](https://runapi.makethisbetter.dev)
- [聯絡我們](mailto:support@runapi.ai)
- [服務條款](https://runapi.ai/zh-TW/terms.md)
- [隱私權](https://runapi.ai/zh-TW/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-TW",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/zh-TW/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-TW",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/zh-TWicon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "SoftwareApplication",
    "name": "Nano Banana nano-banana-2",
    "applicationCategory": "DeveloperApplication",
    "offers": {
      "@type": "Offer",
      "price": "0.0800",
      "priceCurrency": "USD",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "unitText": "call"
      }
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://runapi.ai/zh-TW"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Models",
        "item": "https://runapi.ai/zh-TW/models"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Nano Banana",
        "item": "https://runapi.ai/zh-TW/models/nano-banana"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "nano-banana-2",
        "item": "https://runapi.ai/zh-TW/models/nano-banana/2"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "HowTo",
    "name": "四步驟使用 nano-banana-2",
    "description": "透過 RunAPI 使用 nano-banana-2——Nano Banana 系列。按次計費、model ID、規格與開發者入門指南。",
    "totalTime": "PT5M",
    "step": [
      {
        "@type": "HowToStep",
        "position": 1,
        "name": "安裝",
        "text": "安裝此 model line 的 model skill。",
        "url": "https://runapi.ai/zh-TW/models/nano-banana/2#how-step-1"
      },
      {
        "@type": "HowToStep",
        "position": 2,
        "name": "設定",
        "text": "將 model 欄位設定為此頁面顯示的完整 model ID。",
        "url": "https://runapi.ai/zh-TW/models/nano-banana/2#how-step-2"
      },
      {
        "@type": "HowToStep",
        "position": 3,
        "name": "呼叫",
        "text": "使用您的 prompt、inputs 和 callback 設定送出型別化請求。",
        "url": "https://runapi.ai/zh-TW/models/nano-banana/2#how-step-3"
      },
      {
        "@type": "HowToStep",
        "position": 4,
        "name": "接收",
        "text": "讀取 RunAPI 的 task 回應、webhook callback 或快取輸出 URL。",
        "url": "https://runapi.ai/zh-TW/models/nano-banana/2#how-step-4"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-TW",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "模型 ID 在不同版本之間會保持穩定嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "RunAPI 會維持 model ID 穩定，並在不改變請求格式的情況下處理相容版本更新。"
        }
      },
      {
        "@type": "Question",
        "name": "這個 variant 的速率限制是多少？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "每個金鑰的速率限制會依使用方案而調整。請查看定價頁面以了解目前限制。"
        }
      },
      {
        "@type": "Question",
        "name": "之後可以切換 variant 嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "可以——variant 只是旗標。只要變更 model 參數即可切換。"
        }
      },
      {
        "@type": "Question",
        "name": "它支援串流嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "只要支援串流，RunAPI 就會端到端串流。"
        }
      },
      {
        "@type": "Question",
        "name": "我該在哪裡回報品質問題？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "請在公開 GitHub repo 提交 issue，或寄信給支援。"
        }
      }
    ]
  }
]
```
