---
last_updated: 2026-11-28
source_url: https://opper.ai/google/gemini-2-5-flash-image
title: "Gemini 2.5 Flash Image by Google"
description: "Gemini 2.5 Flash Image (Google). Fast multimodal model with native image generation and conversational editing."
---

# Gemini 2.5 Flash Image

By [Google](https://opper.ai/google).

Released 2 Oct 2025, 9 days after [Gemini 2.5 Flash Native Audio Preview 09-2025](https://opper.ai/google/gemini-2-5-flash-native-audio-preview-09-2025) · [Announcement](https://ai.google.dev/gemini-api/docs/deprecations) · [All Google releases](https://opper.ai/model-releases/google)

Gemini 2.5 Flash Image extends Google's fast multimodal foundation with native image generation and editing. The model understands text prompts and reference images, then generates new imagery or edits existing pictures in response to natural-language direction, including character consistency and combining multiple images.

It suits creative workflows, content generation, and design assistance where speed matters, supporting conversational, back-and-forth editing rather than one-shot output. The 1M token context window backs context-rich sessions that carry substantial reference material and history.

## Available routes

Gemini 2.5 Flash Image runs on 2 different routes through the Opper gateway. Prices are per 1M tokens. In the EU it is served by Google Cloud (Netherlands). [See every Gemini model hosted in the EU](https://opper.ai/models/eu/gemini). Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=gemini-2.5-flash-image.

| Provider | Model id | Region | Zero data retention | Training | Input | Output | Cache read |
| --- | --- | --- | --- | --- | --- | --- | --- |
| [Google Cloud](https://opper.ai/provider/google) | `gemini/gemini-2.5-flash-image` | US (United States) | Abuse monitoring | No | $0.30 | $2.50 | Input price |
| [Google Cloud](https://opper.ai/provider/google) | `vertexai/gemini-2.5-flash-image` | EU (Netherlands) | Abuse monitoring | No | $0.30 | $2.50 | Input price |

## Key info

- Model id: `gemini-2.5-flash-image` (routes across Google Cloud)
- Input: Text, Image
- Output: Text, Image
- Features: none listed
- Context window: 66K
- Max output: 33K
- Text input price: $0.30 per 1M tokens
- Text output price: $2.50 per 1M tokens
- Image output price: $30.00 per 1M tokens
- Released: 2 Oct 2025
- EU residency available on Google Cloud
- US residency available on Google Cloud
- Zero data retention with abuse monitoring
- No training by default

## Data handling per route

Each route hosting Gemini 2.5 Flash Image has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### Google Cloud — United States

Zero data retention with abuse monitoring: prompts and outputs are kept for abuse monitoring only, for a window the provider does not state, and are not used for training. No training on customer data. US; SCCs.

- Zero data retention: With abuse monitoring, window not stated.
- Training: No training on customer data.
- Logging: Abuse monitoring
- Abuse monitoring: On by default, holds flagged content, 55 days, a person can view samples
- Transfer mechanism: SCCs

Verified by Opper on 2026-09-17.

### Google Cloud — Netherlands

Zero data retention with abuse monitoring: prompts and outputs are kept for abuse monitoring only, for a window the provider does not state, and are not used for training. No training on customer data. EU.

- Zero data retention: With abuse monitoring, window not stated.
- Training: No training on customer data.
- Logging: Abuse monitoring
- Abuse monitoring: On by default, holds flagged content, 90 days, stored in Netherlands, a person can view samples
- Caching: Prompt cache
- Transfer mechanism: Not applicable — data stays in EU

Verified by Opper on 2026-09-17.

## Get started

Call Gemini 2.5 Flash Image through the Opper gateway with one API key. Gemini 2.5 Flash Image draws on Opper's images endpoint, POST /v3/images, and also answers in chat on the OpenAI-compatible endpoint.

See the [Opper images guide](https://docs.opper.ai/build/multimodal/images) and the [Opper multimodal skill](https://skills.opper.ai/opper-multimodal/SKILL.md).

Gemini 2.5 Flash Image is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai/opper-multimodal/SKILL.md Generate an image with Gemini 2.5 Flash Image
```

### Or call it directly

cURL:

```bash
curl -s https://api.opper.ai/v3/images \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini/gemini-2.5-flash-image",
    "prompt": "A watercolor lighthouse on a cliff at sunrise",
    "aspect_ratio": "1:1"
  }' \
  | jq -r '.data[0].b64_json' | base64 --decode > image.png

# To edit an image, add "image": "https://..." (or a file_<id>) to the body
```

JavaScript:

```javascript
import { writeFile } from "node:fs/promises";

const res = await fetch("https://api.opper.ai/v3/images", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.OPPER_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "gemini/gemini-2.5-flash-image",
    "prompt": "A watercolor lighthouse on a cliff at sunrise",
    "aspect_ratio": "1:1"
  }),
});
const { data } = await res.json();
// Each image comes back as base64 (b64_json) unless you ask for a url
await writeFile("image.png", Buffer.from(data[0].b64_json, "base64"));
```

OpenAI (chat):

```javascript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

// In chat the model answers with text and images in one message
const completion = await client.chat.completions.create({
  model: "gemini-2.5-flash-image",
  messages: [{ role: "user", content: "Draw a watercolor lighthouse on a cliff at sunrise" }],
});
console.log(completion.choices[0].message);
```

## Use Gemini 2.5 Flash Image in your apps

Pick your tool to see how to run it on Gemini 2.5 Flash Image through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/gemini-2-5-flash-image)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/gemini-2-5-flash-image)
- [Codex](https://opper.ai/apps/codex/gemini-2-5-flash-image)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/gemini-2-5-flash-image)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/gemini-2-5-flash-image)
- [Aider](https://opper.ai/apps/aider/gemini-2-5-flash-image)
- [Goose](https://opper.ai/apps/goose/gemini-2-5-flash-image)
- [Droid](https://opper.ai/apps/droid/gemini-2-5-flash-image)
- [OpenCode](https://opper.ai/apps/opencode/gemini-2-5-flash-image)
- [Pi](https://opper.ai/apps/pi/gemini-2-5-flash-image)
- [OpenClaw](https://opper.ai/apps/openclaw/gemini-2-5-flash-image)
- [Hermes](https://opper.ai/apps/hermes/gemini-2-5-flash-image)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/gemini-2-5-flash-image)
- [OmniRoute](https://opper.ai/apps/omniroute/gemini-2-5-flash-image)
- [Cursor](https://opper.ai/apps/cursor/gemini-2-5-flash-image)
- [Cline](https://opper.ai/apps/cline/gemini-2-5-flash-image)
- [Continue](https://opper.ai/apps/continue/gemini-2-5-flash-image)
- [Kilo Code](https://opper.ai/apps/kilo-code/gemini-2-5-flash-image)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/gemini-2-5-flash-image)
- [Zed](https://opper.ai/apps/zed/gemini-2-5-flash-image)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/gemini-2-5-flash-image)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/gemini-2-5-flash-image)
- [n8n](https://opper.ai/apps/n8n/gemini-2-5-flash-image)
- [LibreChat](https://opper.ai/apps/librechat/gemini-2-5-flash-image)
- [Open WebUI](https://opper.ai/apps/open-webui/gemini-2-5-flash-image)
- [See all apps](https://opper.ai/apps)

## Other models from Google

- [Gemini 4 Argon](https://opper.ai/google/gemini-4-argon)
- [Gemini 3.8 Flash](https://opper.ai/google/gemini-3-8-flash)
- [Gemini 3.5 Flash-Lite](https://opper.ai/google/gemini-3-5-flash-lite)
- [Gemini 3.7 Flash](https://opper.ai/google/gemini-3-7-flash)
- [Gemini 3.6 Flash](https://opper.ai/google/gemini-3-6-flash)
- [Gemini 3.5 Flash](https://opper.ai/google/gemini-3-5-flash)
