Seedance 2.0 DISKON 15% | Buat di Video Generator →
google
google/gemini-2.5-flash-image

google/gemini-2.5-flash-image

Tanggal rilis: 2025-10-08

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

Akan dihentikan pada 3 Juli 2026

Harga

Bayar sesuai pemakaian

Tanpa biaya di muka, bayar hanya sesuai penggunaan

Input$0.30 / M Tokens
Output$2.50 / M Tokens
Image Output$30.00 / M Tokens
Cache Read$0.03 / M Tokens
Cache Write$0.08 / M Tokens

Coba model

google/gemini-2.5-flash-image
Online
google
Hai! Saya asisten AI yang siap membantu. Ada yang bisa saya bantu?

Penggunaan API

Gunakan contoh kode berikut untuk integrasi dengan API kami:

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)

Pengenalan Model

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

Penyediagoogle
Tipellm

Fitur yang Didukung

Input
TeksGambar
Output
TeksGambar
Konteks32,768
Output Maks32,768
Vision✓ Didukung
Function Calling-

Panduan Akses API

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

Gemini 2.5 Flash Image API

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

Konteks

33K

Output Maks.

33K

Vision

Didukung

Coba Gemini 2.5 Flash Image di WaveSpeedAI

Akses Gemini 2.5 Flash Image melalui API terpadu kami — kompatibel dengan OpenAI, tanpa cold start, harga transparan.

Pertanyaan Umum tentang Gemini 2.5 Flash Image

Berapa biaya Gemini 2.5 Flash Image melalui API?+

Harga di WaveSpeedAI: $0.30 per juta token input dan $2.50 per juta token output. Prompt caching dan batch processing ditagih terpisah dan mengurangi biaya efektif pada beban kerja yang panjang dan berulang.

Berapa context window Gemini 2.5 Flash Image?+

Gemini 2.5 Flash Image mendukung hingga 33K token konteks dengan hingga 33K token output per permintaan.

Apakah Gemini 2.5 Flash Image kompatibel dengan OpenAI?+

Ya. WaveSpeedAI menyediakan Gemini 2.5 Flash Image melalui endpoint yang kompatibel dengan OpenAI di https://llm.wavespeed.ai/v1. Arahkan OpenAI SDK resmi ke base URL ini dengan API key WaveSpeedAI Anda — tanpa perubahan kode lainnya.

Bagaimana memulai dengan Gemini 2.5 Flash Image?+

Masuk ke WaveSpeedAI, buat API key di Access Keys, lalu kirim permintaan ke https://llm.wavespeed.ai/v1/chat/completions dengan model id seperti ditampilkan di atas. Akun baru menerima kredit gratis untuk menguji Gemini 2.5 Flash Image.

API LLM terkait