Seedance 2.0 | Special Offer ✦ 10% OFF NOW
google

google/gemini-2.5-flash-image

google/gemini-2.5-flash-image

32,768 context · $0.30/M input tokens · $2.50/M output tokens

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,...

Pricing

Pay-per-use

No upfront costs, pay only for what you use

Input$0.30 / M Tokens
Output$2.50 / M Tokens
Image Output$30.00 / M Tokens

API Usage

Use the following code examples to integrate with our API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="google/gemini-2.5-flash-image",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Model Introduction

Google gemini-2.5-flash-image

google gemini-2.5-flash-image


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 32768 context window for long document handling
  • Competitive pricing at $0.3/$2.7 per million tokens

Key Features

  • Context Window: 32768 tokens
  • Max Output: 32768 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderGoogle
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window32768 tokens
Max Output32768 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.3
Output$2.7

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: google/gemini-2.5-flash-image


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="google/gemini-2.5-flash-image",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "google/gemini-2.5-flash-image",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: google/gemini-2.5-flash-image
  • Provider: Google

Info

Providergoogle
Typellm

Supported Functionality

Input
TextImage
Output
TextImage
Context32,768
Max Output32,768
Vision✓ Supported
Function Calling-

API Access Guide

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDgoogle/gemini-2.5-flash-image

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,...

Input

$0.3 /M

Output

$2.5 /M

Context

33K

Max Output

33K

Vision

Supported

Try google/gemini-2.5-flash-image on WaveSpeedAI

Access google/gemini-2.5-flash-image through our unified API — OpenAI-compatible, no cold starts, transparent pricing.

Open Playground