Image model
MAI Image 2.6
Microsoft’s MAI Image 2.6 model for high-quality text-to-image generation and precise multi-reference editing with up to 1.5K output.
microsoft/mai-image-2.6API
Call MAI Image 2.6
Every model takes the same request, so switching to MAI Image 2.6 is a change to the model field. These samples are written for its own contract and send as they are.
Specifications
What MAI Image 2.6 accepts
Read from the same registry the API validates against. A request outside it is refused when the task is created, before anything is charged.
Modes and inputs
- Text → Image
- Prompt only
- Image → Image
- Up to 5 images
- The model picks its own output size
Output
- Aspect ratios
- 1:1
- 4:3
- 3:4
- 16:9
- 9:16
- 3:2
- 2:3
Leave out
size, or sendauto, and Mynth picks one for the prompt. Any other ratio snaps to the closest of these. Sizes- 4K
- No. A 4k size fails the task
Prompt
- Negative prompt
- Not supported. Dropped before the provider call, no error
The contract as GET /models returns it
{
"modes": {
"txt->img": {},
"img->img": {
"inputs": {
"rules": [
{
"type": "image",
"max": 5
}
]
}
}
}
}Pricing
What it costs
Pay per result, in USD, with no subscription. A failed image or video costs nothing. How pricing works
Rates
- Image
- $0.05 / image
- Input image
- $0.01 / input
An input is charged once for every image it goes into: two inputs on four images are eight input charges.
Estimate a request
1 × $0.05
Held when the task is created. Only images that succeed are charged.