Google图片

Nano Banana 2 Lite

google/nano-banana-2-lite

根据提示词生成一张图片,或使用最多 14 张参考图进行编辑。按张固定收费。

Nano Banana 2 Lite 是 Google 推出的 AI 图片生成模型。可通过 Kerox API 使用模型 ID google/nano-banana-2-lite 调用,也可在 Studio 中直接生成,无需编写代码。在 Kerox 上使用,起价 $0.0140 / 张,比官方价低 58%,无需订阅。

包含这个模型的说明:AI 图片生成 API

$0.0140按张$0.0340比官方价低 58%
输出
图片
时长
—
通常耗时
—
输入
文本, 图片

体验 Nano Banana 2 Lite

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.0140

请求体
{
  "model": "google/nano-banana-2-lite",
  "format": "unified",
  "input": {
    "prompt": "Editorial photograph of a blue kingfisher perched above a quiet pond, square composition, natural light, no lettering.",
    "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-lite",
  "input": {
    "prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
    "aspect_ratio": "16:9"
  }
}'
响应示例
{
  "id": "task_01JD8X9B4Q2M7T8N3K5P6R1S0V",
  "object": "task",
  "model": "google/nano-banana-2-lite",
  "status": "processing"
}

可传入的参数

参数一律用统一格式的名字,各模型通用。

参数名类型必填默认值可选值作用
promptstring必填——提示词
imagesstring | string[]———参考图
aspect_ratiostring—"1:1"1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 21:9画面比例
ninteger—11生成数量

暂不支持: seed, output_format, n, resolution

定价

  • 1 张

    $0.0140

    $0.0340比官方价低 58%

常见用法参考价
规格官方价Kerox比官方价低
1 张$0.0340$0.014058%
$10 能做多少714 张图片
档位官方价Kerox
按张$0.0340$0.0140

提交任务前可用 POST /v1/estimate 估价。

Nano Banana 2 Lite 生成的作品

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.

关于 Nano Banana 2 Lite

根据提示词生成一张图片,或使用最多 14 张参考图进行编辑。按张固定收费。

常见问题

Nano Banana 2 Lite 多少钱?

Kerox 上的 Nano Banana 2 Lite $0.0140 / 张 起,比官方价低 58%。按次付费,生成失败不扣费。每一档的价格见本页的价格表。

Nano Banana 2 Lite 有 API 吗?

有。用模型 ID google/nano-banana-2-lite 向 Kerox 的接口提交任务,然后查询任务,或等 webhook 通知。Nano Banana 2 Lite 的 API 文档里有全部参数和代码示例。

不写代码能在网页上直接用 Nano Banana 2 Lite 吗?

可以。在本页生成面板选择参数即可查看价格,登录后即可生成。 在线体验

用 Nano Banana 2 Lite 需要订阅吗?

不需要。没有套餐,也没有月费。$5 起充,用多少付多少。

如何使用 Nano Banana 2 Lite?

登录 Kerox,在 Studio 中打开 Nano Banana 2 Lite,输入提示词即可在浏览器中生成。如需通过代码调用,请创建 API 密钥,并使用模型 ID google/nano-banana-2-lite 提交任务。

Nano Banana 2 Lite 可以免费使用吗?

Nano Banana 2 Lite 是 Kerox 上的付费模型:每次成功生成按本页价格计费,生成失败不收费。无月费,最低充值 $5 即可开始使用。

相似模型