
金色时刻人像
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": "一张陶瓷台灯的电影级产品照片",
"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,画质更高、文字渲染更锐利,但成本和延迟也更高。