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

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# MAI Image 2.7 Flash API

> Venice 上的 MAI Image 2.7 Flash API：图像生成与图像编辑，最高 2K，每张图像 $0.02 起。匿名访问，不暴露您的身份。



## MAI Image 2.7 Flash API

MAI Image 2.7 Flash 是 MAI 推出的图像生成与图像编辑模型，可通过 Venice API 以 `mai-image-2-7-flash` 调用。该模型的提供商可能会保留提示数据（但这些数据已由 Venice 匿名化）。对于敏感内容，请使用私有模型。

MAI Image 2.7 Flash 是 Microsoft MAI Image 2.7 的更快、更低成本版本。它以 1K 或 2K 分辨率渲染，支持七种宽高比和透明背景。

### MAI Image 2.7 Flash API 价格

| 模型 ID | 变体 | 隐私 | 价格 |
| - | - | - | - |
| `mai-image-2-7-flash` | 生成 | Anonymized | \$0.02 / 张 |
| `mai-image-2-7-flash-edit` | 编辑 | Anonymized | \$0.02 / 次编辑 |

### MAI Image 2.7 Flash 规格

| 规格 | 值 |
| - | - |
| 提供商 | MAI |
| 发布日期 | 2026年11月17日 |
| 隐私 | Anonymized |
| 状态 | 稳定 |
| 分辨率 | 1K, 2K |
| 宽高比 | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 |
| 提示词上限 | 32,000 字符 |

### 如何使用 MAI Image 2.7 Flash API

使用 `"model": "mai-image-2-7-flash"` 和您的 API 密钥向 `POST https://api.venice.ai/api/v1/image/generate` 发送请求。

```bash theme={"system"}
curl https://api.venice.ai/api/v1/image/generate \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mai-image-2-7-flash",
    "prompt": "A retro travel poster with the bold headline \"VENICE\" in large condensed serif type, sunset color palette",
    "resolution": "1K",
    "aspect_ratio": "1:1"
  }'
```

### 相关模型

* [Qwen Image 2.1 Turbo API](https://docs.venice.ai/zh/models/qwen-image-2-1-turbo.md): \$0.02 / 张
* [Muse Image API](https://docs.venice.ai/zh/models/muse-image.md): \$0.02 / 张
* [Seedream V5.5 API](https://docs.venice.ai/zh/models/seedream-v5-5.md): \$0.0255 / 张
* [MiniMax H3 Image API](https://docs.venice.ai/zh/models/minimax-h3-image.md): \$0.04 / 张


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