纯文本规格说明
纯文本规格说明
Grok Imagine API
Grok Imagine 是由 xAI 推出的图像生成和图像编辑模型,可通过 Venice API 以grok-imagine-image 调用。它以私密方式运行,零数据留存。Grok Imagine API 价格
| 模型 ID | 变体 | 隐私 | 价格 |
|---|---|---|---|
grok-imagine-image | 生成 | Private | $0.03 / 张 |
grok-imagine-edit | 编辑 | Private | $0.03 / 次编辑 |
Grok Imagine 规格
| 规格 | 值 |
|---|---|
| 提供商 | xAI |
| 发布日期 | 2026年4月9日 |
| 隐私 | Private |
| 状态 | 稳定 |
| 分辨率 | 1K, 2K |
| 宽高比 | 1:1, 16:9, 9:16, 3:4, 3:2, 2:3 |
| 提示词上限 | 7,500 字符 |
如何使用 Grok Imagine API
使用"model": "grok-imagine-image" 和您的 API 密钥向 POST https://api.venice.ai/api/v1/image/generate 发送请求。curl https://api.venice.ai/api/v1/image/generate \
-H "Authorization: Bearer $VENICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-image",
"prompt": "A retro travel poster with the bold headline \"VENICE\" in large condensed serif type, sunset color palette",
"resolution": "1K",
"aspect_ratio": "1:1"
}'
相关模型
- Grok Imagine 2.0 API: $0.07 / 张
- Flux 2 Pro API: $0.03 / 张
- Wan 2.7 API: $0.0375 / 张
- Krea v2 Medium API: $0.04 / 张
- Krea 2 Turbo API: $0.04 / 张