> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-robin-i18n-sync.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 在 ComfyUI 中使用 Grok Imagine Image 2.0：AI 图像生成与编辑

> 使用 ComfyUI 中的 Grok Imagine Image 2.0 生成和编辑图像：Aurora 引擎、清晰短文本渲染、1K/2K 输出，以及最多 3 张参考图像

Grok Imagine Image 2.0 是 xAI 最新的图像模型，可通过 Grok 合作节点在 ComfyUI 中使用。它基于 Aurora 引擎构建，擅长渲染清晰锐利的短文本，并可生成 1K 或 2K 图像，支持 14 种宽高比，非常适合海报、封面、产品和品牌视觉，以及注重一致性的角色驱动场景。

## Grok Imagine Image 2.0 的优势

* **清晰的短文本渲染**：Aurora 引擎可清晰渲染短文本，因此非常适合海报、封面、产品和品牌视觉
* **参考图像引导的图像编辑**：使用精确的自然语言指令和最多 3 张参考图像编辑图像，以修改元素、替换背景或重新设计场景风格
* **角色一致性**：在角色驱动的场景中，跨多个输出保持角色一致
* **14 种宽高比**：从 `1:1` 到 `9:20`
* **成本控制**：1K 或 2K 分辨率，并提供低或中质量选项，以平衡成本与保真度

## 示例输出

海报风格文生图，具有清晰的文本渲染：

![Grok Imagine Image 2.0 文生图输出](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/api_grok_imagine_image_2_t2i.png)

由角色和产品参考图像引导的图像编辑：

![Grok Imagine Image 2.0 图像编辑输出](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/api_grok_imagine_image_2_image_edit.png)

## 在 ComfyUI 中使用

<Card title="Grok Imagine Image 2.0 工作流" icon="diagram-project" href="/zh/tutorials/partner-nodes/grok/grok-image-2-0/workflow">
  在 ComfyUI 中运行文生图和图像编辑工作流，可在本地或 Comfy Cloud 上运行
</Card>
