MAI Image 2.5 Pro (Edit)
microsoft/mai-image-2.5-pro/editMai Image 2.5 Pro Edit by Microsoft - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.
- Base price
- $0.27USD / run
- Execution
- async
- Model type
- image
- Input fields
- 4
Try the model
Playground
PNG, JPEG, WebP, or GIF · 20 MiB maximum
Your output will appear here
Complete the inputs, then click Run.
Specifications
Pricing
- Base price
- $0.27 / run
Context & modalities
- Input
- Schema-defined
- Output
- image
Capabilities
- Chat
- Not supported
- Vision
- Not supported
- Reasoning
- Not supported
- Structured output
- Not supported
- Function calling
- Not supported
- Audio input
- Not supported
Access
- Provider
- Microsoft
- Model ID
- microsoft/mai-image-2.5-pro/edit
- Execution
- async
- API
- Unified Run API
- Endpoint
- /v1/run
API README
PRICED DRAFT — MANUAL REVIEW REQUIRED exact_model_mode: microsoft/mai-image-2.5-pro/edit original_unit: Text input: $7.50 / 1M tokens. Image input: $162 / 1M tokens. Image output: $162 / 1M tokens. Estimated cost with one input image: ~$0.18–$0.27 per output image. method: published estimated per-image range; conservative upper bound selected for manual review result_base_price: 0.27 result_price_formula: review_status: pending; model remains disabled checked_at: 2026-08-16
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "microsoft/mai-image-2.5-pro/edit",
"image": "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
"prompt": "Turn this into a clean, futuristic product shot with soft studio lighting.",
"output_format": "png"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Choose your model
Compare models
| Model | Context | Input / 1M | Output / 1M | Released |
|---|---|---|---|---|
MAI Image 2.5 Pro (Edit)This model Microsoft | — | — | — | Jul 30, 2026 |
Microsoft | — | — | — | Jun 3, 2026 |
