Introduction
Supply one to five reference images and describe the desired wardrobe, lighting, or scene changes with MAI-Image 2.6.
| Field | Value |
|---|---|
| Input | Image |
| Output | Image |
| Publisher | Microsoft |
| Release date | November 26, 2026 |
| Tasks | Text to image; 1–5 image editing |
| Canvas sizes | 1024x1024, 1024x1536, 1536x1024, 1344x768, 768x1344 |
| Output formats | PNG (default), JPEG, WebP |
| Content policy | Filtered on both text-to-image and image editing |
Key features & highlights
Natural coastal and daylight realism
MAI-Image 2.6 renders misty Atlantic swells, weathered lighthouse paint, and architectural stone without artificial oversaturation.
Tactile studio metal and glass craft
In pour-over coffee tests, hammered copper reflections, glass fluting, and pouring water streams stayed physically grounded.
Consistent identity across portrait edits
Single-photo wardrobe swaps and two-photo stage composites preserved facial landmarks while adapting light temperature cleanly.
Request parameters
| Parameter | Required | Description |
|---|---|---|
output_format | No | Choose png (default), jpeg, or webp output encoding for MAI-Image 2.6; format selection does not affect pricing. |
num_outputs | No | Generate 1 to 4 MAI-Image 2.6 images in one call; default is 1 and each generated image is billed individually. |
size | No | Select the MAI-Image 2.6 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 (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. at least 1 characters · at most 5000 characters |
Pricing
$0.04 / image
Billed at a fixed per-image rate for each edited image returned by MAI-Image 2.6.
Use cases
Interior design and Milanese loft spreads
Stage arched oak joinery, velvet seating, and marble counters overlooking realistic city skylines for architectural briefs.
Coastal and outdoor documentary visuals
Render basalt cliffs, breaking Atlantic surf, and weathered coastal structures under believable silver dawn skies.
Editorial fashion wardrobe relocation
Move studio models into tailored navy trench coats beneath stone colonnades while holding gaze and facial proportions.
Multi-photo concert and stage composites
Combine separate venue and talent photographs into cohesive portrait-framed performance stills.
Prompt guide & pro tips
Choose generation or 1–5 photo editing
Call MAI-Image 2.6 text-to-image for architectural and tabletop stills, or pass one to five source URLs to swap attire and composite performers into target venues.
Specify lens, daylight, and material pairings
Pair concrete textures—green veined marble, hammered copper, wet basalt—with clear lighting terms like mid-morning sidelight or overcast dawn.
Pick output canvas size on both modes
Unlike older fixed-size editors, MAI-Image 2.6 lets you select portrait 1024x1536 or landscape 1536x1024 on both generation and editing calls.
State reference roles explicitly when compositing
Assign environment lighting to image 1 and subject identity to image 2 so two-photo edits blend wardrobe and shadows cleanly.
Overview
Supply one to five reference images and describe the desired wardrobe, lighting, or scene changes with MAI-Image 2.6.
Billing
Billed at a fixed per-image rate for each edited image returned by MAI-Image 2.6.
Usage tips
- Write clear sentences naming the main subject, materials, lighting direction, and composition for MAI-Image 2.6.
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/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.









