详细参数
模型定位
适合场景
计费价格
生成形式
图像生成
Grok Imagine Image Pro 是 xAI 当前更高价位的图像生成模型,面向更高质量的生成需求。
快速入口
模型定位
适合场景
计费价格
生成形式
图像编辑
参考图
参考输入
生成形式
比例选项
调用名
API 基础地址
调用协议
主接口
接口说明
发布时间
计费价格
计费单位
单位类型
输入形式
输出形式
币种
原始价格文案
补充说明
发布时间
$0.70 / image
xAI 官方 models 页嵌入配置当前对应 grok-imagine-image-pro imagePrice=$n700000000;按官方口径折算为 $0.70 / image。参考输入图片当前额外为 $0.02 / image。
reference_image
支持参考图输入,生成时保持人物或风格一致。
| 模型 | 输入价格 | 输出价格 | 上下文 | 发布 |
|---|---|---|---|---|
| Grok Imagine Image Pro xAI / Grok · 本页 | 公开资料未说明 | 公开资料未说明 | - | - |
| Gemini 3.1 Flash Image Preview Google / Gemini | $0.50 / 1M Tokens | $3.00 / 1M Tokens | 131K | 2026-02-01 |
| Gemini Nano Banana 2.1 Google / Gemini | $1.50 / 1M Tokens | $30.00 / 1M Tokens | 66K | 2026-10-06 |
| Gemini 3 Pro Image Preview Google / Gemini | $2.00 / 1M Tokens | $12.00 / 1M Tokens | 66K | 2025-11-01 |
| Gemini 2.5 Flash Image (Nano Banana) Google / Gemini | $0.30 / 1M Tokens | $0.04 / 1M Tokens | 66K | 2025-10-01 |
按同类目里价格最接近的模型挑选,价格单位与口径以各自详情页为准。
调用名 grok-imagine-image-pro,接口地址 https://api.x.ai。示例里的 KEY 换成自己的密钥即可。
curl
curl https://api.x.ai/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-image-pro",
"messages": [{"role": "user", "content": "你好,介绍一下你自己"}]
}'Python
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.x.ai/v1")
response = client.chat.completions.create(
model="grok-imagine-image-pro",
messages=[{"role": "user", "content": "你好,介绍一下你自己"}],
)
print(response.choices[0].message.content)官方暂未公开 Grok Imagine Image Pro 的按量价格,可能按订阅、资源包或商业授权计费,接入前建议先向 xAI / Grok 询价。
Grok Imagine Image Pro 的上下文长度官方资料暂未明确标注,接入前建议以官方文档为准。
调用名是 grok-imagine-image-pro,接口地址是 https://api.x.ai,协议是 https/json,按官方文档填密钥即可调用。
Grok Imagine Image Pro 是闭源模型,一般只能通过 xAI / Grok 的 API 或云厂商服务调用,需要私有化部署建议直接联系厂商谈商业方案。