Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,12 @@
"tutorials/partner-nodes/wan/wan2-7"
]
},
{
"group": "Grok",
"pages": [
"tutorials/partner-nodes/grok/grok"
]
},
{
"group": "HappyHorse",
"pages": [
Expand Down Expand Up @@ -2916,6 +2922,12 @@
"zh/tutorials/partner-nodes/wan/wan2-7"
]
},
{
"group": "Grok",
"pages": [
"zh/tutorials/partner-nodes/grok/grok"
]
},
{
"group": "HappyHorse",
"pages": [
Expand Down Expand Up @@ -5347,6 +5359,12 @@
"ja/tutorials/partner-nodes/wan/wan2-7"
]
},
{
"group": "Grok",
"pages": [
"ja/tutorials/partner-nodes/grok/grok"
]
},
{
"group": "HappyHorse",
"pages": [
Expand Down Expand Up @@ -7583,4 +7601,4 @@
"destination": "/zh/:slug*"
}
]
}
}
110 changes: 110 additions & 0 deletions ja/tutorials/partner-nodes/grok/grok.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
---
title: "Grok Partner Nodes ComfyUI 公式例"
description: "ComfyUI で Grok Partner Nodes を使用して画像生成、動画生成、画像/動画編集を行う方法を解説します"
sidebarTitle: "Grok"
---

import ReqHint from "/snippets/ja/tutorials/partner-nodes/req-hint.mdx";
import UpdateReminder from "/snippets/ja/tutorials/update-reminder.mdx";

Grok Partner Nodes を使用すると、xAI の Grok AI モデルを ComfyUI 内で直接活用して、画像や動画の生成・編集が行えます。最新の **Grok Imagine Video 1.5** モデルでは、1枚の画像からネイティブオーディオ付きの動画を生成することも可能です。

このガイドでは、テキストから画像、画像から動画、動画編集などをカバーする複数のワークフローテンプレートを紹介します。

<ReqHint/>
<UpdateReminder/>

## 利用可能な Grok ワークフロー

| ワークフロー | 説明 |
|---|---|
| **Grok: テキストから画像** | テキストプロンプトから画像を生成 |
| **Grok: 画像編集** | テキストプロンプトで既存画像を編集 |
| **Grok Imagine 画像品質: 生成** | 高品質な画像生成 |
| **Grok Imagine 画像品質: 編集** | 高品質な画像編集 |
| **Grok: 動画生成** | テキストプロンプトまたは参照画像から動画生成 |
| **Grok Imagine Video 1.5: 画像から動画** | 最新モデルでネイティブオーディオ付き動画を生成 |
| **Grok: 動画編集** | テキストプロンプトで既存動画を編集 |
| **Grok: 参照動画** | キャラクター参照画像を使用して動画作成 |
| **Grok: 動画拡張** | 既存動画を延長 |

## Grok テキストから画像

Grok モデルを使用してテキストプロンプトから高品質な画像をすばやく生成します。

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_grok_text_to_image-1.webp" alt="Grok テキストから画像ワークフロー" />

<CardGroup cols={2}>
<Card title="Comfy Cloud で実行" icon="cloud" href="https://cloud.comfy.org/?template=api_grok_text_to_image&utm_source=docs&utm_medium=referral&utm_campaign=grok_t2i">
Comfy Cloud を開く
</Card>
<Card title="ワークフローをダウンロード" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_grok_text_to_image.json">
JSON をダウンロード、またはテンプレートライブラリで "Grok: Text to Image" を検索
</Card>
</CardGroup>

### 実行手順

1. **プロンプトを入力** — **GrokImageNode** ノードにテキスト説明を入力
2. **モデルを選択** — 利用可能な Grok 画像モデルから選択
3. **パラメータを調整** — アスペクト比、画像数、シード値を設定
4. **実行** — `Ctrl+Enter` で生成
5. **結果を確認** — 生成された画像が **SaveImage** ノードに表示

## Grok 動画生成

テキストプロンプトまたは参照画像から動画を作成します。

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_grok_video-1.webp" alt="Grok 動画生成ワークフロー" />

<CardGroup cols={2}>
<Card title="Comfy Cloud で実行" icon="cloud" href="https://cloud.comfy.org/?template=api_grok_video&utm_source=docs&utm_medium=referral&utm_campaign=grok_video">
Comfy Cloud を開く
</Card>
<Card title="ワークフローをダウンロード" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_grok_video.json">
JSON をダウンロード、またはテンプレートライブラリで "Grok: Video generation" を検索
</Card>
</CardGroup>

### 実行手順

1. **(オプション)参照画像をアップロード** — **LoadImage** ノードで初期フレームを指定
2. **プロンプトを入力** — **GrokVideoNode** でシーンを説明
3. **モデルを選択** — Grok 動画モデルバリアントを選択
4. **解像度と長さを設定** — 出力解像度(最大 720p)と動画の長さを指定
5. **実行** — `Ctrl+Enter` で生成

## Grok Imagine Video 1.5: 画像から動画(新機能!)

1枚の入力画像からネイティブオーディオ付きの高品質な動画を生成する最新の Grok 動画モデル。最大 720p 解像度をサポートし、リアルな動きと同期したオーディオを生成します。

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_grok_imagine_video_1_5-1.webp" alt="Grok Imagine Video 1.5 ワークフロー" />

<CardGroup cols={2}>
<Card title="Comfy Cloud で実行" icon="cloud" href="https://cloud.comfy.org/?template=api_grok_imagine_video_1_5&utm_source=docs&utm_medium=referral&utm_campaign=grok_imagine_video_1_5">
Comfy Cloud を開く
</Card>
<Card title="ワークフローをダウンロード" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_grok_imagine_video_1_5.json">
JSON をダウンロード、またはテンプレートライブラリで "Grok Imagine Video 1.5" を検索
</Card>
</CardGroup>

### 実行手順

1. **画像をアップロード** — **LoadImage** ノードで開始画像を読み込み
2. **プロンプトを入力** — **GrokVideoNode** で動きとシーンを説明
3. **モデルを選択** — `grok-imagine-video-1.5` が選択されていることを確認
4. **解像度を設定** — 出力解像度を選択(720p 推奨)
5. **長さを設定** — 動画の秒数を選択(最大 5 秒)
6. **実行** — ネイティブオーディオ付き動画を生成

## その他のワークフロー

Grok は以下のワークフローテンプレートもサポートしています(テンプレートライブラリで検索):

- **Image Edit** — テキストで既存画像を編集
- **Imagine Image Quality: Generation** — 高品質画像生成バリアント
- **Imagine Image Quality: Edit** — 高品質画像編集バリアント
- **Video Edit** — テキストで既存動画を編集
- **Reference to Video** — キャラクター参照画像で一貫性のある動画を作成
- **Video Extend** — 既存動画を延長
110 changes: 110 additions & 0 deletions tutorials/partner-nodes/grok/grok.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
---
title: "Grok Partner Nodes ComfyUI Official Examples"
description: "This guide explains how to use Grok Partner Nodes in ComfyUI for image generation, video generation, and image/video editing"
sidebarTitle: "Grok"
---

import ReqHint from "/snippets/tutorials/partner-nodes/req-hint.mdx";
import UpdateReminder from "/snippets/tutorials/update-reminder.mdx";

Grok Partner Nodes allow you to generate and edit images and videos using xAI's Grok AI models directly within ComfyUI. With the latest **Grok Imagine Video 1.5** model, you can also generate videos with native audio from a single image.

In this guide, we'll show you several workflow templates covering text-to-image, image-to-video, video editing, and more.

<ReqHint/>
<UpdateReminder/>

## Available Grok Workflows

| Workflow | Description |
|---|---|
| **Grok: Text to Image** | Generate images from text prompts using Grok Imagine |
| **Grok: Image Edit** | Edit existing images with text prompts |
| **Grok Imagine Image Quality: Generation** | High-quality image generation with Grok Imagine |
| **Grok Imagine Image Quality: Edit** | High-quality image editing with Grok Imagine |
| **Grok: Video generation** | Generate videos from text prompts or reference images |
| **Grok Imagine Video 1.5: Image to Video** | Generate videos with native audio using the latest Grok model |
| **Grok: Video Edit** | Edit existing videos with text prompts |
| **Grok: Reference to Video** | Create videos using a character reference image |
| **Grok: Video Extend** | Extend existing videos with additional content |

## Grok Text to Image

Generate high-quality images from text prompts quickly using the Grok model.

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_grok_text_to_image-1.webp" alt="Grok Text to Image Workflow" />

<CardGroup cols={2}>
<Card title="Run in Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=api_grok_text_to_image&utm_source=docs&utm_medium=referral&utm_campaign=grok_t2i">
Open in Comfy Cloud
</Card>
<Card title="Download Workflow" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_grok_text_to_image.json">
Download JSON or search "Grok: Text to Image" in Template Library
</Card>
</CardGroup>

### Steps to Run

1. **Enter your prompt** — type a text description in the **GrokImageNode** node
2. **Select a model** — choose from available Grok image models
3. **Adjust parameters** — set aspect ratio, number of images, and seed
4. **Click Queue** — press `Ctrl+Enter` to generate
5. **View result** — the generated image appears in the **SaveImage** node

## Grok Video Generation

Create videos from text prompts or reference images.

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_grok_video-1.webp" alt="Grok Video Generation Workflow" />

<CardGroup cols={2}>
<Card title="Run in Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=api_grok_video&utm_source=docs&utm_medium=referral&utm_campaign=grok_video">
Open in Comfy Cloud
</Card>
<Card title="Download Workflow" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_grok_video.json">
Download JSON or search "Grok: Video generation" in Template Library
</Card>
</CardGroup>

### Steps to Run

1. **(Optional) Upload a reference image** — use the **LoadImage** node to provide an initial frame
2. **Enter your prompt** — describe the scene in the **GrokVideoNode** node
3. **Select a model** — choose a Grok video model variant
4. **Set resolution and duration** — choose output resolution (up to 720p) and video length
5. **Click Queue** — press `Ctrl+Enter` to generate

## Grok Imagine Video 1.5: Image to Video (New!)

The latest Grok video model that generates high-quality videos with native audio from a single image input. Supports resolutions up to 720p and produces realistic motion with synchronized audio.

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_grok_imagine_video_1_5-1.webp" alt="Grok Imagine Video 1.5 Workflow" />

<CardGroup cols={2}>
<Card title="Run in Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=api_grok_imagine_video_1_5&utm_source=docs&utm_medium=referral&utm_campaign=grok_imagine_video_1_5">
Open in Comfy Cloud
</Card>
<Card title="Download Workflow" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_grok_imagine_video_1_5.json">
Download JSON or search "Grok Imagine Video 1.5" in Template Library
</Card>
</CardGroup>

### Steps to Run

1. **Upload an image** — use the **LoadImage** node to load a starting image
2. **Enter your prompt** — describe the motion and scene in the **GrokVideoNode** node
3. **Select model** — ensure `grok-imagine-video-1.5` is selected
4. **Set resolution** — choose output resolution (720p recommended)
5. **Set duration** — choose the number of seconds (up to 5 seconds)
6. **Click Queue** — generates video with native audio

## Additional Workflows

Grok also supports the following workflow templates available in the Template Library:

- **Image Edit** — edit existing images with text descriptions
- **Imagine Image Quality: Generation** — high-quality image generation variant
- **Imagine Image Quality: Edit** — high-quality image editing variant
- **Video Edit** — edit existing videos with text prompts
- **Reference to Video** — create videos using a character reference image for consistent identity
- **Video Extend** — extend existing videos beyond their original duration
110 changes: 110 additions & 0 deletions zh/tutorials/partner-nodes/grok/grok.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
---
title: "Grok Partner Nodes ComfyUI 官方示例"
description: "本指南介绍如何在 ComfyUI 中使用 Grok Partner Nodes 进行图像生成、视频生成和图像/视频编辑"
sidebarTitle: "Grok"
---

import ReqHint from "/snippets/zh/tutorials/partner-nodes/req-hint.mdx";
import UpdateReminder from "/snippets/zh/tutorials/update-reminder.mdx";

Grok Partner Nodes 可让你在 ComfyUI 中直接使用 xAI 的 Grok AI 模型进行图像和视频的生成与编辑。最新的 **Grok Imagine Video 1.5** 模型还可以从单张图片生成带原生音频的视频。

在本指南中,我们将展示多个工作流模板,涵盖文生图、图生视频、视频编辑等功能。

<ReqHint/>
<UpdateReminder/>

## 可用的 Grok 工作流

| 工作流 | 说明 |
|---|---|
| **Grok: 文生图** | 通过文本提示生成图片 |
| **Grok: 图片编辑** | 通过文本提示编辑现有图片 |
| **Grok Imagine 图片质量: 生成** | 高质量图片生成 |
| **Grok Imagine 图片质量: 编辑** | 高质量图片编辑 |
| **Grok: 视频生成** | 通过文本提示或参考图片生成视频 |
| **Grok Imagine Video 1.5: 图生视频** | 使用最新 Grok 模型生成带原生音频的视频 |
| **Grok: 视频编辑** | 通过文本提示编辑现有视频 |
| **Grok: 参考视频** | 使用角色参考图片创建视频 |
| **Grok: 视频扩展** | 扩展现有视频长度 |

## Grok 文生图

使用 Grok 模型快速从文本提示生成高质量图片。

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_grok_text_to_image-1.webp" alt="Grok 文生图工作流" />

<CardGroup cols={2}>
<Card title="在 Comfy Cloud 中运行" icon="cloud" href="https://cloud.comfy.org/?template=api_grok_text_to_image&utm_source=docs&utm_medium=referral&utm_campaign=grok_t2i">
打开 Comfy Cloud
</Card>
<Card title="下载工作流" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_grok_text_to_image.json">
下载 JSON 或在模板库中搜索 "Grok: Text to Image"
</Card>
</CardGroup>

### 运行步骤

1. **输入提示词** — 在 **GrokImageNode** 节点中输入文字描述
2. **选择模型** — 从可用的 Grok 图像模型中选择
3. **调整参数** — 设置画面比例、图片数量和随机种子
4. **点击执行** — 按 `Ctrl+Enter` 生成图片
5. **查看结果** — 生成的图片在 **SaveImage** 节点中显示

## Grok 视频生成

从文本提示或参考图片创建视频。

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_grok_video-1.webp" alt="Grok 视频生成工作流" />

<CardGroup cols={2}>
<Card title="在 Comfy Cloud 中运行" icon="cloud" href="https://cloud.comfy.org/?template=api_grok_video&utm_source=docs&utm_medium=referral&utm_campaign=grok_video">
打开 Comfy Cloud
</Card>
<Card title="下载工作流" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_grok_video.json">
下载 JSON 或在模板库中搜索 "Grok: Video generation"
</Card>
</CardGroup>

### 运行步骤

1. **(可选)上传参考图片** — 使用 **LoadImage** 节点提供起始帧
2. **输入提示词** — 在 **GrokVideoNode** 中描述场景
3. **选择模型** — 选择 Grok 视频模型变体
4. **设置分辨率和时长** — 选择输出分辨率(最高 720p)和视频长度
5. **点击执行** — 按 `Ctrl+Enter` 生成

## Grok Imagine Video 1.5: 图生视频(新!)

最新的 Grok 视频模型,从单张输入图片生成带原生音频的高质量视频。支持最高 720p 分辨率,生成逼真的运动效果并同步音频。

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_grok_imagine_video_1_5-1.webp" alt="Grok Imagine Video 1.5 工作流" />

<CardGroup cols={2}>
<Card title="在 Comfy Cloud 中运行" icon="cloud" href="https://cloud.comfy.org/?template=api_grok_imagine_video_1_5&utm_source=docs&utm_medium=referral&utm_campaign=grok_imagine_video_1_5">
打开 Comfy Cloud
</Card>
<Card title="下载工作流" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_grok_imagine_video_1_5.json">
下载 JSON 或在模板库中搜索 "Grok Imagine Video 1.5"
</Card>
</CardGroup>

### 运行步骤

1. **上传图片** — 使用 **LoadImage** 节点加载起始图片
2. **输入提示词** — 在 **GrokVideoNode** 中描述运动效果和场景
3. **选择模型** — 确保选择了 `grok-imagine-video-1.5`
4. **设置分辨率** — 选择输出分辨率(推荐 720p)
5. **设置时长** — 选择视频秒数(最长 5 秒)
6. **点击执行** — 生成带原生音频的视频

## 其他工作流

Grok 还支持以下可在模板库中搜索的工作流模板:

- **Image Edit** — 通过文本描述编辑现有图片
- **Imagine Image Quality: Generation** — 高质量图片生成变体
- **Imagine Image Quality: Edit** — 高质量图片编辑变体
- **Video Edit** — 通过文本提示编辑现有视频
- **Reference to Video** — 使用角色参考图片创建视频,保持角色一致
- **Video Extend** — 扩展现有视频时长
Loading