Google: Nano Banana 2.1
google/gemini-nano-banana-2.1- 模态
- text+image->text+image
- 输入 / 输出价格
- $1.5 / $7.5
- 上下文
- 66K
- 上架
- 2026年10月6日
- 知识截止
- —
每百万
Nano Banana 2.1 (Gemini Nano Banana 2.1) is Google's image generation and editing model on the Flash tier, succeeding Nano Banana 2 and Nano Banana Pro. It improves product recontextualization,...
视觉图像生成工具调用推理结构化输出
支持的参数
include_reasoning返回推理
是否在响应里带上推理摘要。
max_tokens输出上限
最多生成多少 token。达到上限会截断。
reasoning推理
打开或配置模型的推理过程。具体字段因模型而异。
reasoning_effort推理强度
调节推理花多少计算,常见取值 low、medium、high。
response_format响应格式
例如 json_object 或 json_schema,用于约束输出形状。
seed随机种子
固定种子有助于复现采样结果,不保证字节级一致。
structured_outputs结构化输出
按 JSON Schema 生成可解析的结构。
temperature温度
采样温度。越低越稳定,越高越发散。常见范围 0 到 2。
tool_choice工具选择
控制是否调用工具:auto、none,或指定某个函数。
tools工具
传入函数工具定义,模型可以返回 tool_calls。
top_p核采样
只在累计概率达到 top_p 的 token 里采样。