Grok Imagine Image Quality 是 xAI 推出的高保真图像生成与编辑模型,属于 Grok Imagine 系列中的高质量版本。根据官方与 API 文档,该模型不仅支持文本生成图像(text-to-image),还支持基于输入图像的编辑与重绘(image-to-image)。 在图像编辑模式下,用户可以提供一张参考图片,并通过文本提示词对图像进行修改、风格转换或内容重构,例如改变场景、调整风格或增强细节。该能力使模型能够在保持原图结构或语义的基础上生成新的视觉结果。
Grok Imagine Image Quality 是 xAI 推出的高保真图像生成与编辑模型,属于 Grok Imagine 系列中的高质量版本。根据官方与 API 文档,该模型不仅支持文本生成图像(text-to-image),还支持基于输入图像的编辑与重绘(image-to-image)。 在图像编辑模式下,用户可以提供一张参考图片,并通过文本提示词对图像进行修改、风格转换或内容重构,例如改变场景、调整风格或增强细节。该能力使模型能够在保持原图结构或语义的基础上生成新的视觉结果。
Starting points for evaluation; supported inputs and options are listed in API access.
Specify the subject, composition, lighting and style. Only include reference images or editing parameters when the endpoint supports them.
A minimalist product photograph of a ceramic cup on pale stone, soft window light, ample empty space on the right, warm neutral colors.
/v1/chat/completions| 參數 | 類型 | 預設值 / 範圍 | 說明資訊 |
|---|---|---|---|
prompt必填 | string | — | 想要生成圖像的文字描述 |
size | enum | = 1024x1024 | 輸出圖像尺寸 |
quality | enum | = standard | 生成品質預設 |
style | enum | = vivid | 畫風 |
n | integer | = 11 ~ 10 | 生成的圖像數量 |
response_format | enum | = url | 圖像結果的返回方式 |
替換 <YOUR_API_KEY> 替換為令牌設定中的 API Key。
所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。
在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。
| 參數 | 類型 | 預設值 / 範圍 | 說明資訊 |
|---|---|---|---|
prompt必填 | string | — | 想要生成圖像的文字描述 |
size | enum | = 1024x1024 | 輸出圖像尺寸 |
quality | enum | = standard | 生成品質預設 |
style | enum | = vivid | 畫風 |
n | integer | = 11 ~ 10 | 生成的圖像數量 |
response_format | enum | = url | 圖像結果的返回方式 |
| 供應商 | RPM | TPM | RPD |
|---|---|---|---|
| 标准按次 | 70 | — | 1.2K |
RPM = 每分鐘請求數,TPM = 每分鐘 token 數,RPD = 每日請求數。限制按令牌分組生效。
Grok Imagine Image Quality 是 xAI 推出的高保真图像生成与编辑模型,属于 Grok Imagine 系列中的高质量版本。根据官方与 API 文档,该模型不仅支持文本生成图像(text-to-image),还支持基于输入图像的编辑与重绘(image-to-image)。 在图像编辑模式下,用户可以提供一张参考图片,并通过文本提示词对图像进行修改、风格转换或内容重构,例如改变场景、调整风格或增强细节。该能力使模型能够在保持原图结构或语义的基础上生成新的视觉结果。
Create an API key with access to grok-imagine-image, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.
Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.
Specify the subject, composition, lighting and style. Only include reference images or editing parameters when the endpoint supports them.