MAI Image 2.5 Pro

MAI Image 2.5 Pro is a image generation model from microsoft available through the Givon AI API. Use the published schema to prepare inputs and request token quotes before generation.

Cost

from 15 tokens

ImageProvider: Microsoft

Try MAI Image 2.5 Pro in Givon AI

Open a working project for regular creation, or use Playground to inspect the model parameters.

Use through API

Request fields, constraints, and ready-to-use examples for developers. The user workflow starts above.

Run generation
IDEMPOTENCY_KEY="${IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.givon.ai/api/v1/generations \
  -H "Authorization: Bearer $GIVON_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"image","model":"mai-image-2.5-pro","input":{"prompt":"studio portrait of a red corgi, soft light","aspectRatio":"auto","sourceImage":"asset://asset_...","referenceAssetUris":["asset://asset_..."]}}'

Input fields

* required
prompt*prompt

Image description.

Type
string
Default
Allowed
up to 5000 chars
aspectRatioaspectRatio
Type
string
Default
auto
Allowed
auto, 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3
Source imagesourceImage

Asset used as the source image for image editing.

Type
string
Default
Allowed
image · asset, https, data
Reference imagesreferenceAssetUris

Optional reference images as asset:// URIs, HTTPS URLs, or data URIs.

Type
array
Default
Allowed
image · up to 1 · asset, https, data

Cost

from 15 tokens
Text to imagedefault15 tokens
Edit24 tokens

The variant is selected automatically from request fields, so you do not need to send it.

Capabilities

Modestext_to_imageimage_edit
Asset slotssourceImage:imagereferenceAssetUris:image[]<=1
Get API key

Where to use this model