dramjo ✦ภาพวิดีโอเติมเครดิตเข้าสู่ระบบ
NEW🎬 New: MAGI 2 1080p video with native audio, 4–30 s · only 4.15 credits/sec (5 s clip = 20.75)Try it →

MAI Image 2.6 Flash

🎨 Image mai-image-2.6-flash ⧉ 1.22 credits / image
🎨

Sign in to try MAI Image 2.6 Flash

Sign in with your Google account and top up credits to get started.

Sign in with Google

API Key

Sign in to select or create a key

Connect an AI agent with OAuth

Other agents

Use via API

Base URL: https://adverraai.com/hub/api/v1 · Authenticate with Authorization: Bearer YOUR_API_KEY

# 1) Submit a task
curl https://adverraai.com/hub/api/v1/images/generations \
  -H "Authorization: Bearer $ADVERRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mai-image-2.6-flash",
    "prompt": "a cinematic shot of a city at night",
    "size": "auto",
    "resolution": "1K",
    "n": 1
  }'
# => {"id":"task_xxx","status":"queued",...}

# 2) Check status (every 3-5 seconds until status = completed)
curl https://adverraai.com/hub/api/v1/tasks/task_xxx -H "Authorization: Bearer $ADVERRA_API_KEY"
# => {"status":"completed","output":[{"type":"image","url":"https://..."}]}

Common parameters: prompt, image_urls, size / aspect_ratio, resolution, duration, n, negative_prompt, seed. Credits are reserved at an estimated price when you submit and adjusted to the actual cost when the task finishes (failed tasks are fully refunded).

Parameters for this model

Send as JSON in the request body. Fields marked * are required.

ParameterTypeAllowed valuesDefaultDescription
model * string – – ID of the model to call — mai-image-2.6-flash
nsfw_check boolean true, false false Run content moderation (omni-moderation-latest) on prompts and input images before submitting the image task. false/omitted skips moderation.
prompt * string – – Text describing what to generate
size string auto, 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 2:1, 1:2, 4:1, 1:4 auto Size or aspect ratio of the result
resolution string 1K, 2K 1K Output resolution
width number – – Exact pixel width; must be paired with height. Overrides size/resolution (text-to-image). Both >=768, total <=2,359,296, multiples of 32.
height number – – Exact pixel height; must be paired with width, same constraints. Does not affect image-to-image.
image_urls array (URL) – – Reference image URLs
auto_aspect_ratio boolean true, false false true lets the model choose the aspect ratio from the prompt; equivalent to size auto.
web_grounding boolean true, false false true retrieves real-time information before generation (real people, places, events).
n number 1 1 Number of results per request

🤖 ต่อกับ AI Agent

เชื่อมผ่าน MCP

คัดลอกข้อความนี้ไปวางให้ AI Agent (เช่น Claude, ChatGPT, Gemini, Cursor, Codex) แล้วมันจะเรียกใช้โมเดลนี้ผ่านระบบของเราได้ทันที · ในข้อความมีวิธีเชื่อมต่อ พารามิเตอร์ และวิธีรับผลงานครบ · เลือกคีย์ด้านบนเพื่อใส่ในข้อความที่จะคัดลอก

# Adverra AI Hub — MAI Image 2.6 Flash (`mai-image-2.6-flash`)

You can use this AI model through the Adverra AI Hub REST API. Follow these instructions exactly.

## Connection
- Base URL: https://adverraai.com/hub/api/v1
- Header: `Authorization: Bearer <ADVERRA_API_KEY>` (read the credential from the ADVERRA_API_KEY environment variable). Never print the key.
- Header: `Content-Type: application/json`
- Endpoint: `POST https://adverraai.com/hub/api/v1/generate`
- Credits are deducted from the user's Adverra balance (check with `GET https://adverraai.com/hub/api/v1/me`).

## Example request body
```json
{
    "model": "mai-image-2.6-flash",
    "prompt": "a cute cat wearing sunglasses",
    "size": "1:1"
}
```

## Parameters
- `model` (string, required) — ID of the model to call — mai-image-2.6-flash
- `nsfw_check` (boolean, optional) — Run content moderation (omni-moderation-latest) on prompts and input images before submitting the image task. false/omitted skips moderation. · allowed: true, false · default: false
- `prompt` (string, required) — Text describing what to generate
- `size` (string, optional) — Size or aspect ratio of the result · allowed: auto, 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 2:1, 1:2, 4:1, 1:4 · default: auto
- `resolution` (string, optional) — Output resolution · allowed: 1K, 2K · default: 1K
- `width` (number, optional) — Exact pixel width; must be paired with height. Overrides size/resolution (text-to-image). Both >=768, total <=2,359,296, multiples of 32.
- `height` (number, optional) — Exact pixel height; must be paired with width, same constraints. Does not affect image-to-image.
- `image_urls` (array (URL), optional) — Reference image URLs
- `auto_aspect_ratio` (boolean, optional) — true lets the model choose the aspect ratio from the prompt; equivalent to size auto. · allowed: true, false · default: false
- `web_grounding` (boolean, optional) — true retrieves real-time information before generation (real people, places, events). · allowed: true, false · default: false
- `n` (number, optional) — Number of results per request · allowed: 1 · default: 1


## Result
Returns a task object `{ "id": "task_...", "status": "queued" }`.
Poll `GET https://adverraai.com/hub/api/v1/tasks/{id}` every 5 seconds until `status` is `completed` or `failed`, then download every `output[].url` (links expire after about 24 hours).
If the user already has many jobs running, new jobs are queued automatically (`queued_waiting: true`) — keep polling, do not resubmit.
Optional: add `"wait": true` to the request to wait up to ~100 seconds for the result in one call.

## Errors
- 401 = invalid API key · 402 = not enough credits (tell the user to top up at ./?wallet=1) · 429 = too many requests (wait and retry) · 5xx = temporary error (credits are refunded automatically).

## MCP (optional)
Agents that support MCP can connect to `https://adverraai.com/hub/mcp.php` instead (setup guide: https://adverraai.com/hub/connect.php).

About this model

MAI Image 2.6 Flash is a Image model by Adverra AI Hub

CapabilitiesText to Image, Image to Image
Price1.22 credits / image

MAI Image 2.6 Flash is a fast image generation and editing model developed by Microsoft. It excels at creating images from text descriptions and performing image-to-image transformations using multiple reference images. This model is ideal for creative professionals and marketers needing high-quality visual content quickly.

Key features

  • Text-to-image generation
  • Image editing with up to 5 reference images
  • Multi-image composition
  • Optional Bing grounding for current information retrieval
  • Outputs high-quality PNG images
  • Supports various aspect ratios for text-to-image

What you can do

  • Generate product photographs and branding imagery
  • Create marketing campaign drafts, posters, and social media graphics
  • Develop portrait and people concepts for editorial or lifestyle content
  • Produce photorealistic storyboards for previsualization
  • Explore rendered object studies and 3D-style mockups
  • Transform existing images with specific changes using references

Specs

  • Input: Text, up to 5 reference images (JPEG, PNG)
  • Output: Single PNG image per request
  • Output Resolutions: 1K (1024x1024), 2K (1536x1536), or custom dimensions
  • Aspect Ratios (Text-to-Image): From 1:4 to 4:1, or auto
  • Minimum Dimensions (Text-to-Image): Each side at least 768 pixels
  • Maximum Total Pixels (Text-to-Image): 2,359,296 pixels

Prompt tips

  • For text-to-image, clearly describe the composition, lighting, and any text you want included.
  • When editing, specify which elements to retain or change from your reference images.
  • Enable web grounding for real-world people, places, or events to retrieve current information.
  • For text-to-image, select a resolution tier and aspect ratio, or let the model choose.
  • Use public image URLs or Base64 inputs for reference images.

Examples

▶ Microsoft · Introducing MAI-Image-2.5 | Microsoft AI Models

Sample videos from the model developer's official channels