Google: Nano Banana (Gemini 2.5 Flash Image)
google/gemini-2.5-flash-image- 模态
- text+image->text+image
- 输入 / 输出价格
- $0.3 / $2.5
- 上下文
- 33K
- 上架
- 2025年10月7日
- 知识截止
- 2025-01-31
每百万
Gemini 2.5 Flash Image, a.k.a. "Nano Banana," is now generally available. It is a state of the art image generation model with contextual understanding. It is capable of image generation,...
视觉图像生成结构化输出
支持的参数
max_tokens输出上限
最多生成多少 token。达到上限会截断。
response_format响应格式
例如 json_object 或 json_schema,用于约束输出形状。
seed随机种子
固定种子有助于复现采样结果,不保证字节级一致。
stop停止词
生成到这些字符串时停止。可以是字符串或字符串数组。
structured_outputs结构化输出
按 JSON Schema 生成可解析的结构。
temperature温度
采样温度。越低越稳定,越高越发散。常见范围 0 到 2。
top_p核采样
只在累计概率达到 top_p 的 token 里采样。