← All models

Gemini 2.5 Flash Image (Nano Banana)

Google · Image

Google Gemini's native image model Nano Banana, a fast and stable generation model. Billed per generation through getmodel's image group. Gemini 2.5 Flash Image (Nano Banana) is available on GetModel via an OpenAI-compatible API, billed pay-as-you-go. Get one key and call it from any OpenAI SDK.

Text-to-image

Pricing

ItemPrice
Per generation$0.029

Pricing by group

Group Per generation
Gemini native image $0.029
Image generation $0.029

How to call

curl https://getmodel.ai/v1/chat/completions \
  -H "Authorization: Bearer $GETMODEL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-2.5-flash-image","messages":[{"role":"user","content":"Hello"}]}'
from openai import OpenAI
client = OpenAI(base_url="https://getmodel.ai/v1", api_key="$GETMODEL_API_KEY")
resp = client.chat.completions.create(
    model="gemini-2.5-flash-image",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Details

ProviderGoogle
TypeImage
Endpointsgemini / openai
Available groupsGemini native image / Image generation

FAQ

How much does the Gemini 2.5 Flash Image (Nano Banana) API cost?

Gemini 2.5 Flash Image (Nano Banana) on GetModel costs $0.029 / Per generation, billed pay-as-you-go with no subscription.

How do I call Gemini 2.5 Flash Image (Nano Banana) via API?

Point any OpenAI-compatible client at https://getmodel.ai/v1 with your GetModel API key and set the model to "gemini-2.5-flash-image".

Can I use Gemini 2.5 Flash Image (Nano Banana) together with other models?

Yes — one GetModel API key works for Gemini 2.5 Flash Image (Nano Banana) and 30+ other models. Just change the model field.

Related models