Google
gemini-3.1-flash-image-preview
Nano Banana (gemini-3.1-flash-image-preview) is a highly multifunctional generative model designed for speed, accuracy, and creative flexibility. It excels at transforming text prompts into stunning visual effects while providing advanced composition and style transfer capabilities.
| Provider | |
| Tasks | text-to-image · image-to-image |
| Starting from | 0.0338 USD / call · Pricing details |
POST
gemini-3.1-flash-image-preview
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Must be one of: gemini-3.1-flash-image-preview.
Available options:
gemini-3.1-flash-image-preview Length must be between 1 and 200000.
Required string length:
1 - 200000Up to 10 reference images.
Required array length:
1 - 10 elementsMust be one of: 16x9, 1x1, 21x9, 2x3, 3x2, 3x4, 4x3, 4x5, 5x4, 9x16.
Available options:
16x9, 1x1, 21x9, 2x3, 3x2, 3x4, 4x3, 4x5, 5x4, 9x16 Must be one of: 0.5K, 1K, 2K, 4K. Defaults to 1K.
Available options:
0.5K, 1K, 2K, 4K Previous
gpt-image-2OpenAI's latest image generation and editing model with a reasoning thinking mode achieving 99%+ text rendering accuracy, supporting up to 2K resolution, flexible aspect ratios, and multilingual text, deeply integrated into ChatGPT and API.
| | |
| --- | --- |
| **Provider** | OpenAI |
| **Tasks** | text-to-image · image-to-image |
| **Starting from** | 0.9375 USD / token · <a href="https://linkmodel.ai/en/models/gpt-image-2" target="_blank" rel="noopener">Pricing details</a> |
Next
gemini-3.1-flash-image-preview