Gemini

Google: Nano Banana (Gemini 2.5 Flash Image)

Image Generation
google/gemini-2.5-flash-image

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, edits, and multi-turn conversations.

32K 上下文窗口
32K 最大输出 token
发布日期: 2025-10-02
支持的协议:OpenAIopenaiGeminigemini
可用供应商:GoogleCloudVertex
能力:视觉

定价

类型价格
输入 Token$0.3/M
输出 Token$2.5/M
输出图像$30/M

代码示例

from google import genai
client = genai.Client(
api_key="YOUR_OFOX_API_KEY",
http_options={"api_version": "v1beta", "url": "https://api.ofox.ai/gemini"},
)
response = client.models.generate_content(
model="google/gemini-2.5-flash-image",
contents="Generate an image of a beautiful sunset over mountains",
)
print(response.text)

常见问题

Google: Nano Banana (Gemini 2.5 Flash Image) 在 Ofox.ai 上的价格为输入 $0.3/M/百万 Token,输出 $2.5/M/百万 Token。按量计费,无月费。

微信社群

扫码加入开发者交流群

微信社群

Discord

加入 Discord 社区

Discord

技术顾问

扫码添加技术顾问

技术顾问