Grok
Grok Gambar
Model ID: dungcsnd113/grok-imagine-image-2.0
Keluarga model
Grok
Context
Tidak diperbarui
Per request
10 Rp
Jumlah request
9
Berhasil
55.6%
Token
100
Uptime 55.56%
24 jam laluSekarang
7 hari laluSekarang
Observed token response speed
Up to 500 recent requests with a measured response time
500 recent requests
Observed output speed— tok/s
Response time P50— ms
Response time P95— ms
Samples—
Not enough data
Up to 500 recent requests with a measured response time
Response similarity to the reference model
The percentage reflects similarity between tested responses and reference data; it does not determine whether a model is genuine or fake.
No reference data yetNot enough data
Direct comparisonsNo direct comparisons yet
Check with my API key

Daftar harga

Per request
10 Rp
Riwayat perubahan harga

Tingkat harga yang pernah diterapkan. Baris berlabel "saat ini" adalah harga yang sedang berlaku.

Saat ini Sejak 02/11/2026 - 01:03:47
Per request10 Rp Biaya minimum / request10 Rp
Endpoint yang didukung
https://api.xah.io/v1/images/generations
Metode POST · application/json
Autentikasi Bearer token (API key)
Jenis API Gambar

Catatan teknis

Xem thêm hướng dẫn tại: hoantienmuasam. net/docs/grok-image/

Bagikan

curl 'https://api.xah.io/v1/images/generations' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "dungcsnd113/grok-imagine-image-2.0",
    "prompt": "A serene mountain landscape at sunrise",
    "n": 1,
    "size": "1024x1024"
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/images/generations', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "model": "dungcsnd113/grok-imagine-image-2.0",
    "prompt": "A serene mountain landscape at sunrise",
    "n": 1,
    "size": "1024x1024"
})
});
const data = await res.json();
console.log(data);
import json, requests

url = 'https://api.xah.io/v1/images/generations'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = json.loads("{\n    \"model\": \"dungcsnd113/grok-imagine-image-2.0\",\n    \"prompt\": \"A serene mountain landscape at sunrise\",\n    \"n\": 1,\n    \"size\": \"1024x1024\"\n}")

res = requests.post(url, headers=headers, json=payload, timeout=120)
print(res.status_code, res.json())
{
    "model": "dungcsnd113/grok-imagine-image-2.0",
    "prompt": "A serene mountain landscape at sunrise",
    "n": 1,
    "size": "1024x1024"
}

Coba cepat

Kirim prompt dengan API key Anda — memakai kredit sungguhan, hasilnya stream langsung kembali.

Ulasan & komentar
★ 0.0 / 0 ulasan
Memuat ulasan...
Hubungi Dukungan
Kami selalu siap membantu Anda