Model/Microsoft/MAI Image 2.6
Microsoftimage1 rute

MAI Image 2.6

MAI Image 2.6 dari Microsoft: text to image dan pengeditan gambar, hingga 2K.

mai-image-2.6Dapatkan kunci API

Harga per gambar

UkuranPer gambar
1K$0.04lowest4 kredit
2K$0.099 kredit

Ditagih dalam kredit per gambar (100 kredit = $1, dibulatkan ke atas ke satu kredit penuh). Ditagih sekali, hanya untuk rute yang berhasil. Percobaan yang gagal berharga $0.00.

Permintaan

# One Idempotency-Key per request, made once and sent again with every resend of it
KEY=$(uuidgen)

# 1. Submit. max_cost_usd is your cap: the most this may cost (it lists at $0.04).
#    No id after a timeout, a 429 or a 5xx? Run step 1 again: the same $KEY never makes a second one.
RESP=$(curl -s https://api.revana.si/v1/generations \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $KEY" \
  -d '{
    "model": "mai-image-2.6",
    "input": {
      "prompt": "A product photo of a ceramic coffee cup on a linen tablecloth, soft morning light",
      "resolution": "1K"
    },
    "max_cost_usd": 0.06
  }')
ID=$(echo "$RESP" | jq -r '.id // empty')
echo "${ID:-no id: ${RESP:-no answer}}"

# 2. Poll it until status is "succeeded" or "failed". A failed one is free; to try it again,
#    make a new key first (KEY=$(uuidgen)): the old one answers with the failure.
curl -s https://api.revana.si/v1/generations/${ID:?no id from step 1} \
  -H "Authorization: Bearer $REVANA_API_KEY"

# 3. Download the file once it has succeeded
curl -L https://api.revana.si/v1/generations/${ID:?no id from step 1}/content \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -o out.png

Setel REVANA_API_KEY ke kunci Anda. Referensi lengkap di panduan cepat.

Opsi

Tugas
Text to imageImage to image
Resolusi
1K2K
Gambar input
Hingga 5
Satuan penagihan
per gambar
Id model
mai-image-2.6

1 rute

Satu rute saat ini. Jika gagal Anda tidak ditagih.

Tentang API MAI Image 2.6

Berapa biaya API MAI Image 2.6?

MAI Image 2.6 berharga mulai dari $0.04 per gambar di Revana (1K: $0.04; 2K: $0.09). Anda membayar dengan kredit prabayar, 100 kredit per dolar, tanpa langganan atau minimum bulanan. Generasi yang gagal tidak dikenai biaya.

Bagaimana cara memanggil MAI Image 2.6 dari kode?

Kirim POST https://api.revana.si/v1/generations dengan {"model": "mai-image-2.6", "input": {...}} dan kunci API Revana Anda sebagai Bearer token, lakukan polling GET /v1/generations/{id} sampai berhasil, lalu unduh GET /v1/generations/{id}/content. Setiap model di Revana menerima bentuk request yang sama.

Apa yang terjadi jika generasi MAI Image 2.6 gagal?

Anda ditagih sekali, hanya untuk rute yang berhasil mengirim hasil. Generasi yang gagal berharga $0.00.

Apa yang bisa dilakukan MAI Image 2.6 di Revana?

MAI Image 2.6 mendukung text to image dan image to image, resolusi 1K, 2K, dan hingga 5 gambar input. Nilai yang tidak ditawarkannya ditolak dengan 422 sebelum ada yang ditagih.

Bisakah agen AI saya memakai MAI Image 2.6?

Bisa. Hubungkan server MCP Revana (https://revana.si/api/mcp) ke Claude, ChatGPT, Cursor, atau Codex, atau minta agen memanggil REST API. Agen bisa menampilkan daftar model, mendapat kuotasi gratis, dan generate dengan kredit Anda.

Bandingkan dengan model serupa

Juga tersedia sebagai markdown untuk agen. Semua model dan harga: models.json.