Gemini 2.5 Flash Image

Gemini 2.5 Flash Image is optimized for image understanding and generation and offers a balance of price and performance. Gemini 2.5 Flash Image uses the speed and cost-effectiveness of Gemini 2.5 Flash to provide fast and efficient image generation and editing capabilities.

Image generation specifications

Generating images with Gemini 2.5 Flash Image consumes 1290 tokens for each image generated.

Try in Agent Studio Deploy example app

Note: "Deploy example app" requires a Google Cloud project with billing and Agent Platform API enabled.
Model ID gemini-2.5-flash-image
Modalities
Text Input and output
Image Input and output
Audio Not supported
Video Not supported
Token limits Context window 32,768
Maximum output tokens 32,768
Capabilities
Tools
Consumption options
Input size limit 500 MB
Technical specifications Image
  • Maximum images per prompt: 3
  • Maximum file size per file for inline data or direct uploads through the console: 7 MB
  • Maximum file size per file from Google Cloud Storage: 30 MB
  • Maximum number of output images per prompt: 10
  • Supported aspect ratios: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, and 21:9
  • Supported MIME types:
    image/png, image/jpeg, image/webp, image/heic, image/heif
Text
  • Maximum number of files per prompt: 3
  • Maximum number of pages per file: 3
  • Maximum file size per file for the API or Cloud Storage imports: 50 MB(application/pdf) or 7 MB(text/plain)
  • Maximum file size per file for direct uploads through the console: 7 MB
  • Supported MIME types:
    application/pdf, text/plain
Parameter defaults
  • Temperature: 0.0-2.0 (default 1.0)
  • topP: 0.0-1.0 (default 0.95)
  • topK: 64 (fixed)
  • candidateCount: 1
Supported regions

Model availability

  • Global: global
  • United States: us-central1, us-east1, us-east4, us-east5, us-south1, us-west1, us-west4
  • Europe: europe-central2, europe-north1, europe-southwest1, europe-west1, europe-west4, europe-west8

ML processing

  • United States: Multi-region
  • Europe: Multi-region
Knowledge cutoff date June 2024
Versions
  • gemini-2.5-flash-image
    • Launch stage: GA
    • Release date: October 2, 2025
    • Retirement date: October 2, 2026
Security controls Online prediction
  • Data residency
  • CMEK
  • VPC-SC
  • AXT
Batch inference
  • Data residency
  • CMEK
  • VPC-SC
  • AXT
See Security controls for more information.
Pricing See Pricing.