xAI: Grok Imagine Image 2.0
xai/grok-imagine-image-2.0
xAI Grok Imagine Image 2.0 API
Oxyy 尚未公布 Grok Imagine Image 2.0 的价格。 它根据文本 prompt 生成图片 且可以使用参考图片。 For every xAI model and rate, see Grok API 定价.
xAI's recommended image generation and editing model. Text and image in, image out.
模态文本图片图片
供应商
此模型的运行位置以及每个路由的费用。请求会自动发送到健康的提供商;如果某个提供商出错,网关会自动重试提供相同模型的另一个提供商。
| 提供方 | 价格 |
|---|---|
| xAI | 尚未发布 |
功能特性 (4)
Image EditMulti Image EditingBatchImage To Image
定价
Oxyy 上的模型按需付费,无订阅费。此模型暂无公开价格。
价格
尚未发布
Oxyy 尚未公布该模型的价格。
| 费率 | 标准价格 | 已扣费 | 单位 |
|---|---|---|---|
| 价格尚未公布 | |||
规格
- Model ID
grok-imagine-image-2.0- 开发者
- xAI
- 类型
- 图片生成
- 输入
- Text and images
- 输出
- 图片
- 分词器
- Grok
- 系列
- Grok Imagine
- 图片输入
- 每个最大 20 MB
- 端点
/v1/images/generations
最适合
图片生成图片编辑
快速入门
调用 grok-imagine-image-2.0 通过 POST 请求发送至 /v1/images/generations 开启 https://api.oxyy.ai,使用来自的 Oxyy API key OXYY_API_KEY 环境变量。 同一密钥适用于目录中的所有模型。
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.oxyy.ai/v1",
api_key=os.environ["OXYY_API_KEY"],
)
response = client.images.generate(
model="grok-imagine-image-2.0",
prompt="A lighthouse on a cliff at sunset, watercolor",
n=1,
size="1024x1024",
)
print(response.data[0].url)可用性
过去一段时间内成功完成的该模型请求占比 30 天。 调用方取消的请求以及仍在处理中的请求不计入统计。 当上游供应商出错时,网关会自动重试提供同一模型的其他供应商,因此单个供应商的故障不一定会在此处显示。
请求数 (30 天)
16
成功率基于 100 个已完成的请求
有流量的天数
9
在过去的 30 天内
常见问题
什么是 Grok Imagine Image 2.0?
xAI's recommended image generation and editing model. Text and image in, image out.
我可以向 Grok Imagine Image 2.0 发送什么?
Grok Imagine Image 2.0接收一条文本prompt and reference images (每个最大 20 MB)并返回images。
Grok Imagine Image 2.0 使用哪个 API 终端节点?
向 https://api.oxyy.ai/v1/images/generations 发送带有 "model": "grok-imagine-image-2.0" 的 POST 请求,并使用你的 Oxyy API key 进行身份验证。 It is also served on /v1/images/edits, /v1/images/variations, /v1/chat/completions and /v1/responses (Responses API).
xAI 还有哪些其他模型?
xAI 还通过 Oxyy 提供 Grok Imagine Image, Grok 4.3, Grok 4.5 and Grok 4.6。
替代方案: Grok Imagine Image 2.0
其他供应商提供的同类模型,按价格从低到高排序。在 Oxyy 上按需付费,使用相同的 API Key。
Z.ai: CogView-4Z.ai's CogView image generation model.image generation · $0.004 per imageBlack Forest Labs: FLUX.2 [klein] 4BFastest, cheapest FLUX.2 model for real-time and high-volume text-to-image and multi-reference editing.image generation · $0.0056 per megapixelGoogle: Nano Banana 2High-efficiency production-scale image generation and editing, balancing speed with 4K generation, world knowledge and…image generation · $0.200 / $24.00 per 1M tokensOpenAI: GPT Image 2OpenAI's image generation and editing model with flexible, near-arbitrary output resolutions up to 4K and automatic hig…image generation · $1.00 / $6.00 per 1M tokens
探索更多模型
更多来自以下机构的模型 xAI
Grok Imagine ImagexAI's low-cost image generation and editing model, flat-priced across resolutions.image generation · $0.008 per imageGrok 4.3Cost-efficient Grok model with a 1M token context window and a 20% Batch API discount.text · 1M context · $0.500 / $1.00 per 1M tokensGrok 4.5Previous-generation Grok flagship. Same standard input and output rates as Grok 4.6 but a cheaper cached-input rate.text · 500K context · $0.800 / $2.40 per 1M tokensGrok 4.6xAI's flagship model for code and everything else: agentic tool calling, minimal hallucinations, configurable reasoning.text · 500K context · $0.800 / $2.40 per 1M tokensGrok 4.7Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particu…text · 500K context · $0.800 / $2.40 per 1M tokensGrok Imagine VideoPrevious-generation, lower-cost video generation and editing model. Text, image and video in, video out.text to video · From $0.020 每 每秒视频(480p)


