# MAI-Image-2.7-Flash

A faster, lower-cost variant of MAI-Image-2.7 with the same generation and editing capabilities, including output up to 2048x2048 and transparent backgrounds.

- **Model ID:** `microsoft/mai-image-2.7-flash`
- **Type:** image
- **Providers:** azure
- **Context window:** Not applicable
- **Maximum output tokens:** 0
- **Pricing:** $1.75/1M input tokens, $10/1M output tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/mai-image-2.7-flash

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { experimental_generateImage as generateImage } from 'ai';

const result = await generateImage({
  model: 'microsoft/mai-image-2.7-flash',
  prompt: 'A red balloon on a wooden table.'
});
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/mai-image-2.7-flash)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)


If you encounter incorrect information, can’t find what you need, need a capability Vercel doesn’t currently offer, or have any other feedback to report, please do it by following the instructions at https://vercel.com/feedback.md.
