Concepts
Models
AI models powering MakePhotos photo generation.
Models
MakePhotos uses Google's Gemini family of image generation models. The model is configured per generation type — you don't select it directly.
Available models
| Label | Model ID | Description |
|---|---|---|
| Nano Banana | gemini-2.5-flash-image | Fastest, basic quality |
| Nano Banana 2 | gemini-3.1-flash-image-preview | Balanced speed and quality |
| Nano Banana Pro | gemini-3-pro-image-preview | Best quality, slower |
How models are assigned
Each generation type has a default model configured server-side. Currently, product type uses Nano Banana 2 (gemini-3.1-flash-image-preview) which balances speed and quality.
You don't need to specify a model in your API calls — it's selected automatically based on the generation type.
Performance
Typical generation times:
| Model | Average time |
|---|---|
| Nano Banana | 5–10 seconds |
| Nano Banana 2 | 10–15 seconds |
| Nano Banana Pro | 15–25 seconds |
The API has a 60-second timeout. If generation takes longer, the request fails and credits are automatically refunded.
Configuration
Models use the following server-side configuration:
- Thinking mode: Enabled at MINIMAL level for Nano Banana 2 (improves output quality with minimal latency cost)
- Person generation: Set to
ALLOW_ADULTto avoid blocking product shots that include people - Safety timeout:
AbortSignal.timeout(50000)to fail gracefully before the server's hard 60-second limit