GPT
GPT Gambar
Model ID: mainnewnol/gpt-image-2
Keluarga model
GPT
Context
Tidak diperbarui
Per request
276.923 Rp
Jumlah request
28
Berhasil
53.6%
Token
33.9K
Uptime
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
276.923 Rp
Riwayat perubahan harga

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

Sebelumnya Sejak 21/08/2026 - 13:01:45
Per request461.538 Rp Biaya minimum / request461.538 Rp
Saat ini Sejak 21/08/2026 - 14:03:12
Per request276.923 Rp Biaya minimum / request276.923 Rp
Endpoint yang didukung
https://api.xah.io/v1/images/generations
Metode POST · application/json
Autentikasi Bearer token (API key)
Jenis API Gambar

Bagikan

curl 'https://api.xah.io/v1/images/generations' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "mainnewnol/gpt-image-2",
    "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": "mainnewnol/gpt-image-2",
    "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\": \"mainnewnol/gpt-image-2\",\n    \"prompt\": \"A serene mountain landscape at sunrise\",\n    \"n\": 1,\n    \"size\": \"1024x1024\"\n}")

res = requests.post(url, headers=headers, json=payload, stream=True, timeout=120)
print(res.status_code, res.json())
{
    "model": "mainnewnol/gpt-image-2",
    "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