
黃金時刻人像
16:9A woman standing in a sunlit field at golden hour, wearing ornate gold jewelry, warm cinematic light.
google/nano-bananaGoogle 的 Nano Banana 圖片產生 API — 基於 Gemini 2.5 Flash 的平價模型,11 種比例,最多 10 張參考圖片。
curl https://api.runbase.net/v1/runs \
-H "Authorization: Bearer $RUNBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/nano-banana",
"input": {
"prompt": "A cinematic product photo of a ceramic lamp",
"aspect_ratio": "1:1",
"resolution": "1K"
}
}'
A woman standing in a sunlit field at golden hour, wearing ornate gold jewelry, warm cinematic light.

A woman spinning in a flowing red traditional dress with floral embroidery, motion blur capturing the movement.

A vintage orange sedan parked on a night road, teal fog and palm trees in the background, moody atmosphere.
Nano Banana 是 Google 的入門級圖片模型,於 2025 年 8 月發布。基於 Gemini 2.5 Flash 構建,在 Nano Banana 系列中提供最快的產生速度和最低的價格。支援 11 種比例(含 auto,讓模型自動選擇)以及最多 10 張、每張 10 MB 的參考圖片。沒有解析度控制 — 模型自動決定輸出解析度。
快速創意探索和概念圖迭代。預算有限的社群媒體視覺素材和縮圖。情緒板和早期設計階段。速度和成本比像素級保真度更重要的簡單圖片編輯。
所有參數都在執行請求的 input 物件中傳遞。
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | 文字描述(1–5000 字元) |
| aspect_ratio | No | 輸出比例。預設 1:1。支援 11 種比例,含 auto |
| image_urls | No | 最多 10 張參考圖片(每張最大 10 MB)用於圖片編輯 |
auto 比例不確定什麼比例適合提示詞時,將 aspect_ratio 設為 auto 讓模型決定。這通常比強制使用與主題不搭的比例產出更好的構圖。
Nano Banana 對氛圍提示的回應很好 — 「golden hour light」、「moody fog」、「high-contrast noir」。這些比詳細的版面指令更能可靠地引導整體感覺。
十一種選項:1:1、2:3、3:2、3:4、4:3、4:5、5:4、9:16、16:9、21:9 和 auto。預設為 1:1。
不支援。與 Nano Banana 2 和 Nano Banana Pro 不同,沒有解析度參數。模型自動決定輸出解析度。
Nano Banana 更快且更便宜,基於 Gemini 2.5 Flash。Nano Banana Pro 使用 Gemini 3 Pro 提供更高保真度和更銳利的文字渲染,但延遲和費用更高。