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

> MAI Image 2.7 Flash API on Venice: image generation and image editing up to 2K, from $0.02 per image. Anonymized access without your identity.



## MAI Image 2.7 Flash API

MAI Image 2.7 Flash is an image generation and image editing model by MAI, available on the Venice API as `mai-image-2-7-flash`. The provider of this model may retain prompt data (though it is anonymized by Venice). For sensitive content, use a private model.

MAI Image 2.7 Flash is the faster, lower-cost variant of Microsoft's MAI Image 2.7. It renders at 1K or 2K in seven aspect ratios and supports transparent backgrounds.

### MAI Image 2.7 Flash API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `mai-image-2-7-flash` | Generate | Anonymized | \$0.02 / image |
| `mai-image-2-7-flash-edit` | Edit | Anonymized | \$0.02 / edit |

### MAI Image 2.7 Flash specifications

| Spec | Value |
| - | - |
| Provider | MAI |
| Released | Nov 17, 2026 |
| Privacy | Anonymized |
| Status | Stable |
| Resolutions | 1K, 2K |
| Aspect ratios | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 |
| Prompt limit | 32,000 characters |

### How to use the MAI Image 2.7 Flash API

Send requests to `POST https://api.venice.ai/api/v1/image/generate` with `"model": "mai-image-2-7-flash"` and your API key.

```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"
  }'
```

### Related models

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


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