GPT
GPT Gambar

phatchau036/gpt-image-2

Model ID: phatchau036/gpt-image-2
Keluarga model
GPT
Context
Tidak diperbarui
Per request
36.923 Rp
Jumlah request
5K
Berhasil
93.3%
Token
8.59M
Uptime 0.00%
24 jam laluSekarang
7 hari laluSekarang

Daftar harga

Per request
36.923 Rp
Riwayat perubahan harga

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

Saat ini Sejak 29/07/2026 - 09:18:59
Per request36.923 Rp
Sebelumnya Sejak 31/07/2026 - 10:32:37
Per request64.615 Rp
Endpoint yang didukung
https://api.xah.io/v1/images/generations
https://api.xah.io/v1/images/edits
Metode POST · application/json
Autentikasi Bearer token (API key)
Jenis API Gambar

Catatan teknis

This model supports both image generation and editing.

Bagikan

curl 'https://api.xah.io/v1/images/generations' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "gpt-image-2",
    "prompt": "Tạo ảnh con chó",
    "size": "1024x1024",
    "quality": "low"
}'
// 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": "gpt-image-2",
    "prompt": "Tạo ảnh con chó",
    "size": "1024x1024",
    "quality": "low"
})
});
const data = await res.json();
console.log(data);
import requests

url = 'https://api.xah.io/v1/images/generations'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = {
    "model": "gpt-image-2",
    "prompt": "Tạo ảnh con chó",
    "size": "1024x1024",
    "quality": "low"
}

res = requests.post(url, headers=headers, json=payload, timeout=120)
print(res.status_code, res.json())
{
    "model": "gpt-image-2",
    "prompt": "Tạo ảnh con chó",
    "size": "1024x1024",
    "quality": "low"
}
Coba cepat

Model ini tidak mendukung chat teks, jadi tidak bisa dicoba di sini.

Ulasan & komentar
5.0 / 1 ulasan
Memuat ulasan...
Hubungi Dukungan
Kami selalu siap membantu Anda