MAI-Image-2.7
MAI-Image-2.7 is Microsoft AI's diffusion model for text-to-image generation and precise image editing, with output up to 2048x2048 and transparent backgrounds. Your use is subject to Microsoft AI's Terms & Privacy Policies.
- Input and output price
- Input $5, Output $34, Per 1M tokens
import { experimental_generateImage as generateImage } from 'ai';
const result = await generateImage({ model: 'microsoft/mai-image-2.7', prompt: 'A red balloon on a wooden table.'});Copy link to headingPlayground
Try out MAI-Image-2.7 by Microsoft AI. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
Prompt
Describe what you want the model to generate.Reference images(optional)
Add up to 4 images
Images to generate
Your generated image will appear here
Copy link to headingProviders
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
Checking availability for your team
| Provider |
|---|