G
Gemini 3.1 Flash Image
Gemini 3.1 Flash Image, an image model from Google.
imageModelOverride: { model: "gemini-3.1-flash-image" }
Google·Released February 2026Pricing
- List price
- $0.067+/image
- Per generation
- $0.067
- Per generation
- $0.10
- Per generation
- $0.15
- Input
- $0.50 / 1M
- Input
- $3.00 / 1M
Specifications
- Context window
- 131,072 tokens
- Max output
- 32,768 tokens
- Aspect ratios
- 9
- Released
- February 2026
Parameters
Model options, passed in
imageModelOverride.config.| Parameter | Type | Default | Range / options |
|---|---|---|---|
source_imagesIf you want to edit an existing image, provide the URL(s) or variables | Image URLs | — | — |
aspect_ratio | Select | 16:9 | 1:116:99:163:44:32:3+3 |
imageSize | Select | 2K | 1K2K4K |
Use this model
await mindstudio.generateImage({ prompt: "...", imageModelOverride: { model: "gemini-3.1-flash-image", config: { aspect_ratio: "16:9", imageSize: "2K", }, }, });