> ## Documentation Index
> Fetch the complete documentation index at: https://tikway.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Image generation

> Unified OpenAI compatible portal. `size` represents the aspect ratio, and `quality` maps to Gemini's image resolution.

| Model | Output resolution | Reference image | Search and thinking |
| --- | --- | --- | --- |
| `gemini-3.1-flash-image` | 512px, 1K, 2K, 4K; supports 1:4/4:1/1:8/8:1 extreme ratios | Up to 14 images (max 10 objects + 4 characters) | `google_search`, `image_search`, `thinking_level` |
| `gemini-3-pro-image` | 1K, 2K, 4K | Up to 14 images (up to 6 objects + 5 characters + 3 styles) | `google_search`, `thinking_level`; image search is not supported |
| `gemini-2.5-flash-image` | Fixed 1K | Recommended maximum 3 images | Does not support Google Search, image search and thinking |

This entry does not accept native `generationConfig`, `aspect_ratio` or `image_size`, please use `size` and `quality`.



## API Specification

The full API specification for this endpoint is available in the [documentation index](https://tikway.mintlify.site/llms.txt).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.