> ## 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.

# 图片生成

> 统一 OpenAI 兼容入口。`size` 表示宽高比，`quality` 映射到 Gemini 的图片分辨率。

| 模型 | 输出分辨率 | 参考图 | 搜索与思考 |
| --- | --- | --- | --- |
| `gemini-3.1-flash-image` | 512px、1K、2K、4K；支持 1:4/4:1/1:8/8:1 极端比例 | 最多 14 张（最多 10 个对象 + 4 个角色） | `google_search`、`image_search`、`thinking_level` |
| `gemini-3-pro-image` | 1K、2K、4K | 最多 14 张（最多 6 个对象 + 5 个角色 + 3 个风格） | `google_search`、`thinking_level`；不支持图片搜索 |
| `gemini-2.5-flash-image` | 固定 1K | 建议最多 3 张 | 不支持 Google Search、图片搜索和思考 |

此入口不接受原生 `generationConfig`、`aspect_ratio` 或 `image_size`，请使用 `size` 和 `quality`。



## API Specification

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