Introduction
Provide one to five source photos and edit instructions to produce economical restyled images with MAI-Image 2.6 Flash.
| Field | Value |
|---|---|
| Input | Image |
| Output | Image |
| Publisher | Microsoft |
| Release date | November 26, 2026 |
| Tasks | Text to image; 1–5 photo editing |
| Canvas presets | 1024x1024, 1024x1536, 1536x1024, 1344x768, 768x1344 |
| Output formats | PNG (default), JPEG, WebP |
| Content policy | Strictly filtered on both generation and editing |
Key features & highlights
Half-cost Flash economics with crisp material rendering
Anodized aluminum, walnut wood grain, and stoneware textures render cleanly in 1344x768 widescreen at roughly half standard 2.6 spend.
Natural documentary daylight at rapid speed
Farmers-market produce studies retain bright natural color separation and soft depth of field without over-saturated gloss.
Identity-preserving 1-to-5 photo compositing
Single-photo wardrobe swaps and two-photo concert stage composites keep facial geometry accurate across square and portrait sizes.
Request parameters
| Parameter | Required | Description |
|---|---|---|
output_format | No | Choose png (default), jpeg, or webp output encoding for MAI-Image 2.6 Flash; format selection does not affect pricing. |
num_outputs | No | Generate 1 to 4 MAI-Image 2.6 Flash images in one call; default is 1 and each generated image is billed individually. |
size | No | Select the MAI-Image 2.6 Flash canvas dimensions (1024x1024, 1024x1536, 1536x1024, 1344x768, 768x1344); defaults to 1024x1024 without changing the per-image price. |
image_urls | Yes | Upload 1 to 5 source images for MAI-Image 2.6 Flash (JPEG, PNG, or WebP) and refer to them as image 1, image 2 in the prompt. at least 1 items · at most 5 items |
prompt | Yes | Describe the scene, subject, lighting, and visual style for MAI-Image 2.6 Flash. at least 1 characters · at most 5000 characters |
Pricing
$0.018 / image
Billed at a fixed per-image rate for each edited image returned by MAI-Image 2.6 Flash.
Use cases
High-volume e-commerce catalog imagery
Produce crisp desk hardware banners, tableware spreads, and product thumbnails where low unit cost drives margin.
Fast A/B layout and aspect prototyping
Test widescreen, square, and vertical framing across campaigns before escalating winners to flagship renders.
Multi-reference wardrobe and backdrop edits
Swap knitwear, shift studio courtyards, or merge stage backdrops with portraits using up to five references.
Editorial food and lifestyle pitch drafts
Generate sunlit market photography and rooftop lifestyle frames rapidly for pitch decks and social calendars.
Prompt guide & pro tips
Start with text or attach up to five references
Run text-to-image for rapid product or lifestyle drafts, or pass one to five JPEG, PNG, or WebP photos to switch directly into multi-photo editing.
Match canvas geometry to your placement
Pick among five preset sizes including 1344x768 widescreen banners and 1024x1536 vertical story frames without changing per-image pricing.
Batch four rapid variations per request
Generate up to four outputs at once when comparing desk palettes, packaging directions, or e-commerce crop choices at Flash economy rates.
Reference each uploaded photo by index
Label source images as image 1 and image 2 in the prompt so MAI-Image 2.6 Flash preserves identity while blending environments cleanly.
Overview
Provide one to five source photos and edit instructions to produce economical restyled images with MAI-Image 2.6 Flash.
Billing
Billed at a fixed per-image rate for each edited image returned by MAI-Image 2.6 Flash.
Usage tips
- Write clear sentences naming the main subject, materials, lighting direction, and composition for MAI-Image 2.6 Flash.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "microsoft/mai-image-2.6-flash/edit",
"input": {
"image_urls": [
"https://example.com/reference.png"
],
"num_outputs": 1,
"output_format": "png",
"prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
"size": "1024x1024"
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.









