Grok
Grok Obraz
Model ID: dungcsnd113/grok-imagine-image-2.0
Rodzina
Grok
Kontekst
Nie określono
Za request
0.00188 zł
Liczba użyć
9
Sukces
55.6%
Tokeny
100
Uptime 55.56%
24 godz. temuTeraz
7 dni temuTeraz
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

Cennik

Za request
0.00188 zł
Historia cen

Poziomy cen stosowane wcześniej. Wiersz oznaczony jako „bieżący” to cena obowiązująca.

Bieżąca Od 02/11/2026 - 01:03:47
Za request0.00188 zł Minimalna opłata / request0.00188 zł
Obsługiwane endpointy
https://api.xah.io/v1/images/generations
Metoda POST · application/json
Autoryzacja Bearer token (klucz API)
Rodzaje API Obraz

Uwagi techniczne

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

Udostępnij

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"
}

Wypróbuj

Wyślij prompt za pomocą swojego klucza API — zużywa realne środki, wynik jest streamowany natychmiast.

Oceny i komentarze
★ 0.0 / 0 ocen
Ładowanie ocen...
Skontaktuj się z pomocą
Zawsze jesteśmy gotowi, aby Ci pomóc