Claude Opus 5.5 已在 SeedRouter 上线
Google图像生成又名 Nano Banana 2 Lite

Gemini 3.1 Flash Lite Image — Google 最快的图像模型

Gemini 3.1 Flash Lite Image 是 Google 图像系列中主打速度与成本的选择:1K 图像、14 种宽高比,思考级别由你控制。沿用你的 generateContent 请求体即可。每张约 $0.02565,按 token 计费。

可用约 $0.02565 /张$0.0342 /张-25%
  • 文生图
  • 图像编辑
  • 1K 输出
  • 14 种宽高比
  • 思考级别
  • 支持视频与 PDF 输入
模型 ID
gemini-3.1-flash-lite-image
输入
文本、图像、视频、PDF
输出
一张 1K 图
又名
Nano Banana 2 Lite

写代码之前,先试试 Gemini 3.1 Flash Lite Image

用你的代码将要发送的同一份 JSON 运行 Gemini 3.1 Flash Lite Image。该接口支持的每个 generateContent 字段都在这里。

创建图像任务

gemini-3.1-flash-lite-image-official$22.50 / 1M image output tokens

描述你想要的图像,有参考图就一并加上,提交一次即可。任务完成后结果就会显示。

45 / 262144

要生成或修改什么。主体、场景、光线和风格。

参考图

需要模型读取的图像、视频或 PDF。文件会先上传,再以 URL 形式发送。

0/14 个文件

最多 14 张,以 fileData URL 发送。

默认跟随第一张参考图,没有参考图时为 1:1。

输出分辨率,默认 1K。

只返回图像,或图像加一段简短文字回复。

给模型的固定规则,例如统一的品牌风格。

该类别的拦截阈值。

灰色选项会放宽内容过滤,只能通过 API 使用,Playground 中不可选。

该类别的拦截阈值。

灰色选项会放宽内容过滤,只能通过 API 使用,Playground 中不可选。

该类别的拦截阈值。

灰色选项会放宽内容过滤,只能通过 API 使用,Playground 中不可选。

该类别的拦截阈值。

灰色选项会放宽内容过滤,只能通过 API 使用,Playground 中不可选。

0–2。留空则使用模型默认值。

0–1。留空则使用模型默认值。

整数,不小于 1。

整数。重复使用同一个值,可以更接近地复现结果。

限制文本与思考输出的上限。

0

每行一个,最多 5 个。

只能为 1:一次请求返回一张图像。

每张参考图消耗多少 token。越低越便宜。

随图像一起返回模型的思考摘要。

MINIMAL 最快;HIGH 会在出图前做更多推理。

参考预估~$0.02565

按当前费率预估:所选尺寸的图像 token,加上一份实测的文本与思考 token 样本。在 Official 渠道上,参考图输入会让费用略有增加。

…
就绪
通过本 API 使用 Gemini 3.1 Flash Lite Image 生成

试试下面这几条提示词

Generated with Gemini 3.1 Flash Lite Image: a grid of small square photo prints on a white table
Generated with Gemini 3.1 Flash Lite Image: a bowl of ramen from above on a dark wooden table
Generated with Gemini 3.1 Flash Lite Image: a flat illustration of a lighthouse at sunset

通过本 API 使用 Gemini 3.1 Flash Lite Image 生成的示例图

Gemini 3.1 Flash Lite Image API 价格

Gemini 3.1 Flash Lite Image 按每次渲染报告的 token 计费,token 费率是整个系列里最低的。每张图都是 1K,所以单张成本基本稳定在一个数字附近。

一张 1K 图1K · 1:1 · 短提示词
Official
$0.02565/张
按实时费率计算的一次典型 1K 渲染的 token 费用。
$20.00 能买多少张 1K 图
Official
779张
按当前 token 费率,每美元约 38 张。

两种价格都来自对你账户实际计费的费率。失败的请求不扣费。

Official 的预估使用 Google 公布的各尺寸图像 token 数,再加上一份实测样本:398 个文本与思考 token,以及 11 个提示词 token。

Gemini 3.1 Flash Lite Image 各尺寸价格

Gemini 3.1 Flash Lite Image 只渲染一种尺寸:1K,Google 将其计为 1,120 个图像 token。下面的 Official 价格另加了一份实测的文本与思考样本。

图像尺寸图像 token价格 · Official
1K1,120$0.02565

每张图都是 1K,所以每次渲染的图像 token 都相同;文本与思考 token 会随提示词略有浮动。

估算你自己的 Gemini 3.1 Flash Lite Image 请求价格

选一个尺寸,看数字怎么变。它由实时费率和 Google 公布的各尺寸图像 token 数算出,价格一变它也跟着变。

价格预估gemini-3.1-flash-lite-image-official
× 1 · 实时

这是提交前的预估。Official 对图像输出、文本与思考输出、输入分别按各自费率计费。

你的预估
~$0.02565
每 $20.00
≈ 779张
1K · 1:1 · × 1
原价· 省 25%
~$0.0342
本次请求的 token
图像输出 token1,120
文本输入 token1
图像尺寸
宽高比
数量
1
提示词
0 字符 · 约 1 token
项目计量方式费率计费
Official · 图像输出本次渲染报告的图像 token$22.50 / 1M$30.00 / 1M按实际用量扣费
Official · 文本与思考输出本次渲染报告的文本与思考 token$1.125 / 1M$1.50 / 1M按实际用量扣费
Official · 输入提示词与参考图 token$0.1875 / 1M$0.25 / 1M按实际用量扣费
失败的请求任何以失败结束的任务免费不扣任何费用

Gemini 3.1 Flash Lite Image 是什么?

Gemini 3.1 Flash Lite Image 是 Google 最快、最便宜的 Gemini 图像模型,产品名为 Nano Banana 2 Lite。Google 为速度与规模打造了它,面向最看重延迟和成本的场景。

在 SeedRouter 上,你用 Google 自己的 generateContent 请求体加一个 model 字段来调用 Gemini 3.1 Flash Lite Image。提交一次,保存任务 ID,任务完成后读取托管的图像 URL。

模型 ID:gemini-3.1-flash-lite-image · 按 token 计费 ID:gemini-3.1-flash-lite-image-official · 输入上限:65,536 token。

输出尺寸
1K
宽高比
14 种,从 1:8 到 8:1
思考级别
MINIMAL 或 HIGH
参考类型
图像、视频、PDF

使用 Gemini 3.1 Flash Lite Image 的两种方式

从你的后端调用 API,或者把活交给编程 Agent。

后端

调用 API

适合应用、流水线和批量任务

从你的服务器发送 Gemini 3.1 Flash Lite Image 请求,保存任务 ID,再从任务中读取成品图。

  1. 1创建 API key
  2. 2POST 请求体
  3. 3轮询任务直到完成
Agent

交给 Agent 来做

适合一次性素材和原型

把现成的提示词复制到 Claude Code、Codex 或 Cursor。它会在花钱前先征求你同意,并自动下载结果。

  1. 1复制提示词
  2. 2填上你想要的内容
  3. 3批准这次请求

开发者为什么选 Gemini 3.1 Flash Lite Image

面向批量与速度、1K 就够用的 Gemini 图像模型。

Google 的请求体

Gemini 3.1 Flash Lite Image 接受的 contents 和 generationConfig,与你发给 Google 的完全一样。加一个 model 字段就行了。

为低延迟而生

Google 为超低延迟设计了 Gemini 3.1 Flash Lite Image,让用户少等一会儿。

思考由你设定

thinkingLevel 选 MINIMAL 求速度,选 HIGH 应对更难的提示词。

最低 token 费率

Google 给 Gemini 3.1 Flash Lite Image 定的 token 费率只有 Gemini 3.1 Flash Image 的一半。

14 种宽高比

用 Gemini 3.1 Flash Lite Image 以 1K 生成方形缩略图、快拍和宽幅横幅。

基于任务

提交一个 Gemini 3.1 Flash Lite Image 请求,保存任务 ID,完成后读取 URL。

团队都用 Gemini 3.1 Flash Lite Image 做什么

缩略图

Gemini 3.1 Flash Lite Image 以 1K 覆盖信息流和商品列表配图。

聊天内配图

在用户等待时,用一张 Gemini 3.1 Flash Lite Image 图片回应他们。

预览图

在更大尺寸的渲染之前,先展示一张快速的 Gemini 3.1 Flash Lite Image 草图。

大批量

单张成本说了算的大批量生成。

社媒画幅

一条提示词,生成方形、竖版和宽幅的 Gemini 3.1 Flash Lite Image 多个版本。

从文档生成

把一份 PDF 或一段视频快速变成 Gemini 3.1 Flash Lite Image 视觉图。

四步上手 Gemini 3.1 Flash Lite Image

  1. 01

    创建一把 key

    登录,充值任意金额,然后创建一把 API Key。额度永不过期。

  2. 02

    发送一次请求

    把带有提示词和参考图 URL 的 Gemini 3.1 Flash Lite Image 请求体 POST 到 /v1/images/generations。

  3. 03

    轮询任务

    保存任务 ID,每隔几秒查询一次,直到状态变为 completed。

  4. 04

    下载图像

    把任务输出里的托管图像 URL 保存到你自己的存储。

创建你的 API Key

Gemini 3.1 Flash Lite Image 一览

判断 Gemini 3.1 Flash Lite Image 是否适合你的任务,看这几项就够了。

特性Gemini 3.1 Flash Lite Image
模型 IDgemini-3.1-flash-lite-image
输出尺寸仅 1K
宽高比14 种(1:8 到 8:1)
思考级别MINIMAL 或 HIGH
参考类型图像、视频、PDF
计费按 token 计费(Official)

需要 2K 或 4K 输出?请看 Gemini 3.1 Flash Image 或 Gemini 3 Pro Image。

迁移 Gemini 3.1 Flash Lite Image 代码之前

仅 1K

Gemini 3.1 Flash Lite Image 只渲染 1K。需要 2K 或 4K 请用 Gemini 3.1 Flash Image。

参考图少一些效果最好

Google 表示 Gemini 3.1 Flash Lite Image 没有针对大量参考图或多轮编辑做优化。

用 URL,不用 inlineData

Gemini 3.1 Flash Lite Image 的参考图请以 fileData URL 发送。Base64 的 inlineData 会在扣费之前被拒绝。

暂不支持 Search grounding

带 tools 的 Gemini 3.1 Flash Lite Image 请求目前会被拒绝。

为什么在 SeedRouter 上用 Gemini 3.1 Flash Lite Image

每次渲染用多少付多少

Gemini 3.1 Flash Lite Image 按每次渲染报告的 token 计费,token 费率是整个系列里最低的。key 和请求体与其他模型相同。

失败的请求不收费

任务以失败结束时不扣任何费用。你只为成功交付的图像付费。

额度永不过期

充值一次,随时使用余额。无需订阅。

托管结果

成品图以我们 CDN 上的 URL 返回。需要长期保存的内容,请自行备份一份。

一把 key 调用所有模型

同一把 key 和余额也可用于目录中的其他图像模型。

SeedRouter 上的其他图像模型

同一把 key、同一份余额、同一套任务 API。

GPT Image 2
gpt-image-2-official · gpt-image-2

在 SeedRouter 上用 GPT Image 2 生成和编辑图像。支持文本提示词、参考图与透明背景,配有在线 Playground,按用量计费。

查看价格
GPT Image 2.5
gpt-image-2.5-flare · gpt-image-2.5-sunburst · gpt-image-2.5-flare-official · gpt-image-2.5-sunburst-official

在 SeedRouter 上用 GPT Image 2.5 Flare 或 Sunburst 生成和编辑图像。六档质量最高到 max,支持透明背景,配有在线 Playground,按用量计费。

查看价格
Gemini 3.1 Flash Image
gemini-3.1-flash-image-official · gemini-3.1-flash-image

用 Google 的 generateContent 请求体调用 Gemini 3.1 Flash Image(gemini-3.1-flash-image):512px 到 4K、14 种宽高比、14 张参考图,按张计费。

查看价格
Gemini 3 Pro Image
gemini-3-pro-image-official · gemini-3-pro-image

用 Google 的 generateContent 请求体调用 Gemini 3 Pro Image(gemini-3-pro-image):1K 到 4K、内置思考、14 张参考图,按次或按 token 计费。

查看价格

Gemini 3.1 Flash Lite Image 常见问题

Gemini 3.1 Flash Lite Image 和 Nano Banana 2 Lite 是同一个模型吗?+

是的。Nano Banana 2 Lite 是 Google 给 Gemini 3.1 Flash Lite Image 起的产品名,模型 ID 为 gemini-3.1-flash-lite-image。Nano Banana 2 Lite 页面从产品角度介绍的是同一个模型。

Gemini 3.1 Flash Lite Image 多少钱一张?+

Gemini 3.1 Flash Lite Image 按每次渲染报告的 token 计费,一次典型的 1K 渲染约 $0.02565。价格部分列出了实时费率。

Gemini 3.1 Flash Lite Image 免费吗?+

Google 的价格页面没有为 Gemini API 上的 Gemini 3.1 Flash Lite Image 列出免费层级。在 SeedRouter 上充值一次,额度永不过期,失败的请求不扣费。

Gemini 3.1 Flash Lite Image 能生成 2K 或 4K 图像吗?+

不能。Gemini 3.1 Flash Lite Image 只能渲染 1K。需要 2K 或 4K,请用同样的请求体调用 Gemini 3.1 Flash Image。

Gemini 3.1 Flash Lite Image 的 thinkingLevel 有什么用?+

MINIMAL 返回最快。HIGH 会在更难的提示词上花更多推理。思考 token 只在 Official 渠道计费。

我需要修改 Gemini 请求吗?+

contents、systemInstruction、safetySettings 和 generationConfig 保持原样即可。加一个 model 字段,发送到 /v1/images/generations,再从任务中读取 Gemini 3.1 Flash Lite Image 的结果。

怎么获取 Gemini 3.1 Flash Lite Image 的 API Key?+

登录,充值任意金额,然后在 API Key 页面创建一把 key。同一把 key 可以调用 Gemini 3.1 Flash Lite Image 和这里的所有其他模型。

发送你的第一个 Gemini 3.1 Flash Lite Image 请求

先在 Playground 里试用 Gemini 3.1 Flash Lite Image,再把同一份 JSON 粘贴进你的代码。