Grok
Grok 图像
Model ID: dungcsnd113/grok-imagine-image-2.0
模型系列
Grok
上下文
尚未更新
每次请求
0.00351 ¥
调用次数
9
成功
55.6%
Tokens
100
在线率 55.56%
24小时前现在
7天前现在
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

价格表

每次请求
0.00351 ¥
价格变更历史

曾经适用的价格级别。标记为当前的价格为现在生效的价格。

当前 自 02/11/2026 - 01:03:47
每次请求0.00351 ¥ 单次请求最低收费0.00351 ¥
支持的Endpoint
https://api.xah.io/v1/images/generations
方法 POST · application/json
身份验证 Bearer token(API key)
API类型 图像

技术说明

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

分享

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

快速试用

使用您的API key发送prompt — 消耗真实credit,结果实时流式返回。

评价与评论
★ 0.0 / 0 条评价
正在加载评价...
联系支持
我们随时为您提供帮助