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

技術顧問

掃碼新增技術顧問

技術顧問