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

# MindSee Image Flash

| 项目 | 说明 |
| - | - |
| 模型 ID | `mindsee-image-2.5-flash` |
| 能力 | 文生图、图片编辑 |
| 接口 | [`POST /v1/images/generations`](/api-reference/images-generations) |

## 参数

| 参数 | 类型 | 必填 | 可选值 | 默认值 | 说明 |
| - | - | - | - | - | - |
| `model` | string | 是 | `mindsee-image-2.5-flash` | — | 模型 ID |
| `prompt` | string | 是 | 1 到 32000 个字符 | — | 生图提示词 |
| `image` | string\[] | 否 | 最多 8 张 | — | 待编辑图片的 base64，必须带 data URL 前缀，如 `data:image/png;base64,`，单张解码后不超过 20MB。不为空时为图片编辑 |
| `resolution` | string | 是 | `1K`、`2K`、`3K`、`4K` | — | 输出分辨率档位 |
| `ratio` | string | 否 | `1:1`、`3:4`、`4:3`、`16:9`、`9:16`、`2:3`、`3:2`、`21:9` | `1:1` | 输出宽高比 |

## 请求示例

<CodeGroup>
  ```bash 文生图 theme={null}
  curl https://openapi.mindsee.app/v1/images/generations \
    --max-time 330 \
    -H "Authorization: Bearer $MINDSEE_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "mindsee-image-2.5-flash",
      "prompt": "一只橘猫坐在窗台上看雨，水彩风格",
      "resolution": "2K",
      "ratio": "16:9"
    }'
  ```

  ```bash 图片编辑 theme={null}
  jq -n --rawfile image <(base64 < input.png | tr -d '\n') '{
    "model": "mindsee-image-2.5-flash",
    "prompt": "把背景换成海边日落",
    "image": ["data:image/png;base64," + $image],
    "resolution": "1K"
  }' | curl https://openapi.mindsee.app/v1/images/generations \
    --max-time 330 \
    -H "Authorization: Bearer $MINDSEE_API_KEY" \
    -H "Content-Type: application/json" \
    -d @-
  ```
</CodeGroup>

## 响应示例

```json theme={null}
{
  "created": 1767225600,
  "data": [
    {
      "b64_json": "iVBORw0KGgoAAAANSUhEUgAA..."
    }
  ]
}
```


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