Skip to content
Draft
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
34 changes: 34 additions & 0 deletions built-in-nodes/partner-node/image/krea/krea2-image.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: "Krea 2 Image - ComfyUI Built-in Node Documentation"
description: "A Krea Partner node that generates images via Krea 2 with tunable creativity, style references, and moodboard conditioning"
sidebarTitle: "Krea 2 Image"
icon: "circle"
---

![ComfyUI Built-in Krea 2 Image Node](/images/built-in-nodes/api_nodes/krea/krea2-image.jpg)

The Krea 2 Image node generates images via Krea 2 — pick Medium (expressive illustrations) or Large (expressive photorealism). Supports an optional moodboard and up to 10 chained image style references.

## Parameters

| Parameter | Type | Default | Description |
| ------------------- | -------- | -------- | ----------------------------------------------------- |
| prompt | string | "" | Text prompt for the image generation |
| model | select | Medium | Krea 2 Medium or Krea 2 Large |
| aspect_ratio | select | 1:1 | 1:1, 4:3, 3:2, 16:9, 2.35:1, 4:5, 2:3, 9:16 |
| resolution | select | 1K | Resolution scale |
| creativity | select | medium | Raw, Low, Medium, High |
| moodboard_id | string | "" | Optional Krea moodboard UUID |
| moodboard_strength | float | 0.35 | -0.5 to 1.5 |
| style_reference | chain | — | Optional chain of style references (max 10) |
| seed | int | 0 | Random seed (0 to 2147483647) |

## Output

| Output | Type | Description |
| ------ | ----- | ------------------- |
| IMAGE | image | Generated image(s) |

## Source Code

[View source code on GitHub](https://github.com/Comfy-Org/ComfyUI/blob/main/comfy_api_nodes/nodes_krea.py)
28 changes: 28 additions & 0 deletions built-in-nodes/partner-node/image/krea/krea2-style-reference.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: "Krea 2 Style Reference - ComfyUI Built-in Node Documentation"
description: "A Krea Partner node that adds an image style reference to a Krea 2 generation"
sidebarTitle: "Krea 2 Style Reference"
icon: "circle"
---

![ComfyUI Built-in Krea 2 Style Reference Node](/images/built-in-nodes/api_nodes/krea/krea2-style-reference.jpg)

The Krea 2 Style Reference node adds an image style reference to a Krea 2 generation. Chain multiple Krea 2 Style Reference nodes (max 10) and feed the final `style_reference` output into Krea 2 Image. Each image is uploaded to ComfyAPI storage and passed as URL.

## Parameters

| Parameter | Type | Default | Description |
| --------------- | ------ | ------- | ---------------------------------------------- |
| image | image | — | Reference image whose style influences the generation |
| strength | float | 1.0 | Reference strength (-2.0 to 2.0) |
| style_reference | chain | — | Optional incoming chain of style references |

## Output

| Output | Type | Description |
| --------------- | ----- | ---------------------------------------- |
| style_reference | chain | Chained style reference for Krea 2 Image |

## Source Code

[View source code on GitHub](https://github.com/Comfy-Org/ComfyUI/blob/main/comfy_api_nodes/nodes_krea.py)
39 changes: 39 additions & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,12 @@
"tutorials/partner-nodes/recraft/recraft-text-to-image"
]
},
{
"group": "Krea",
"pages": [
"tutorials/partner-nodes/krea/krea2-image"
]
},
{
"group": "Kling",
"pages": [
Expand Down Expand Up @@ -1029,6 +1035,13 @@
"built-in-nodes/partner-node/image/recraft/save-svg"
]
},
{
"group": "Krea",
"pages": [
"built-in-nodes/partner-node/image/krea/krea2-image",
"built-in-nodes/partner-node/image/krea/krea2-style-reference"
]
},
{
"group": "Runway",
"pages": [
Expand Down Expand Up @@ -2599,6 +2612,12 @@
"zh/tutorials/partner-nodes/recraft/recraft-text-to-image"
]
},
{
"group": "Krea",
"pages": [
"zh/tutorials/partner-nodes/krea/krea2-image"
]
},
{
"group": "Kling",
"pages": [
Expand Down Expand Up @@ -3221,6 +3240,13 @@
"zh/built-in-nodes/partner-node/image/recraft/save-svg"
]
},
{
"group": "Krea",
"pages": [
"zh/built-in-nodes/partner-node/image/krea/krea2-image",
"zh/built-in-nodes/partner-node/image/krea/krea2-style-reference"
]
},
{
"group": "Stability AI",
"pages": [
Expand Down Expand Up @@ -4780,6 +4806,12 @@
"ja/tutorials/partner-nodes/recraft/recraft-text-to-image"
]
},
{
"group": "Krea",
"pages": [
"ja/tutorials/partner-nodes/krea/krea2-image"
]
},
{
"group": "Kling",
"pages": [
Expand Down Expand Up @@ -5402,6 +5434,13 @@
"ja/built-in-nodes/partner-node/image/recraft/save-svg"
]
},
{
"group": "Krea",
"pages": [
"ja/built-in-nodes/partner-node/image/krea/krea2-image",
"ja/built-in-nodes/partner-node/image/krea/krea2-style-reference"
]
},
{
"group": "Stability AI",
"pages": [
Expand Down
34 changes: 34 additions & 0 deletions ja/built-in-nodes/partner-node/image/krea/krea2-image.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: "Krea 2 Image - ComfyUI ビルトインノードドキュメント"
description: "Krea パートナーノード。調整可能なクリエイティビティ、スタイルリファレンス、ムードボードコンディショニングで Krea 2 を介して画像を生成します"
sidebarTitle: "Krea 2 Image"
icon: "circle"
---

![ComfyUI ビルトイン Krea 2 Image ノード](/images/built-in-nodes/api_nodes/krea/krea2-image.jpg)

Krea 2 Image ノードは Krea 2 を介して画像を生成します。Medium(表現力豊かなイラスト)または Large(表現力豊かなフォトリアリズム)を選択可能。オプションのムードボードと最大 10 個のチェーン式画像スタイルリファレンスをサポートします。

## パラメータ

| パラメータ | 型 | デフォルト | 説明 |
| -------------------- | ------- | ---------- | ------------------------------------- |
| prompt | string | "" | 画像生成のテキストプロンプト |
| model | select | Medium | Krea 2 Medium または Large |
| aspect_ratio | select | 1:1 | 1:1, 4:3, 3:2, 16:9, 2.35:1, 4:5, 2:3, 9:16 |
| resolution | select | 1K | 解像度 |
| creativity | select | medium | Raw, Low, Medium, High |
| moodboard_id | string | "" | オプションの Krea ムードボード UUID |
| moodboard_strength | float | 0.35 | -0.5 〜 1.5 |
| style_reference | chain | — | オプションのスタイルリファレンスチェーン(最大 10 個) |
| seed | int | 0 | ランダムシード(0 〜 2147483647) |

## 出力

| 出力 | 型 | 説明 |
| ------ | ----- | ---------------- |
| IMAGE | image | 生成された画像 |

## ソースコード

[GitHub でソースコードを表示](https://github.com/Comfy-Org/ComfyUI/blob/main/comfy_api_nodes/nodes_krea.py)
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: "Krea 2 Style Reference - ComfyUI ビルトインノードドキュメント"
description: "Krea パートナーノード。Krea 2 生成に画像スタイルリファレンスを追加します"
sidebarTitle: "Krea 2 Style Reference"
icon: "circle"
---

![ComfyUI ビルトイン Krea 2 Style Reference ノード](/images/built-in-nodes/api_nodes/krea/krea2-style-reference.jpg)

Krea 2 Style Reference ノードは、Krea 2 生成に画像スタイルリファレンスを追加します。複数の Krea 2 Style Reference ノードをチェーン接続し(最大 10 個)、最終的な `style_reference` 出力を Krea 2 Image ノードに渡します。各画像は ComfyAPI ストレージにアップロードされ、URL として渡されます。

## パラメータ

| パラメータ | 型 | デフォルト | 説明 |
| --------------- | ------ | ---------- | ---------------------------------------- |
| image | image | — | 生成にスタイル影響を与える参照画像 |
| strength | float | 1.0 | 参照強度(-2.0 〜 2.0) |
| style_reference | chain | — | オプションの入力スタイルリファレンスチェーン |

## 出力

| 出力 | 型 | 説明 |
| --------------- | ----- | -------------------------------------- |
| style_reference | chain | Krea 2 Image 用のチェーン式スタイルリファレンス |

## ソースコード

[GitHub でソースコードを表示](https://github.com/Comfy-Org/ComfyUI/blob/main/comfy_api_nodes/nodes_krea.py)
84 changes: 84 additions & 0 deletions ja/tutorials/partner-nodes/krea/krea2-image.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
---
title: "Krea 2 Image API Node ComfyUI 公式サンプル"
description: "ComfyUI で Krea 2 Image および Krea 2 Style Reference パートナーノードを使用する方法を学びます"
sidebarTitle: "Krea 2 Image"
---

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

[Krea 2 Image](/ja/built-in-nodes/partner-node/image/krea/krea2-image) および [Krea 2 Style Reference](/ja/built-in-nodes/partner-node/image/krea/krea2-style-reference) ノードは、Krea の初のファウンデーション画像モデルを ComfyUI にパートナーノードとして提供します。Krea 2 はクリエイティブコントロールを重視して設計されており、調整可能なクリエイティビティ、スタイルリファレンス、ムードボードコンディショニング、そしてイラストからフォトリアリズムまでをカバーする 2 つのモデルバリアントを備えています。

このガイドでは、利用可能な Krea 2 ワークフローの使用方法を説明します。

<ReqHint/>
<UpdateReminder/>

## Krea 2 Image ノードドキュメント

以下のドキュメントで各ノードの詳細なパラメータ設定をご確認ください:

<Card title="Krea 2 Image ノードドキュメント" icon="book" href="/ja/built-in-nodes/partner-node/image/krea/krea2-image">
Krea 2 Image Partner ノードドキュメント
</Card>

<Card title="Krea 2 Style Reference ノードドキュメント" icon="book" href="/ja/built-in-nodes/partner-node/image/krea/krea2-style-reference">
Krea 2 Style Reference Partner ノードドキュメント
</Card>

## Krea2: Text to Image ワークフロー

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

### 実行手順

1. **Krea 2 Image** ノードにテキストプロンプトを入力
2. **Krea 2 Medium** または **Krea 2 Large** を選択
3. アスペクト比、クリエイティビティ、シードなどのオプションパラメータを調整
4. **Queue Prompt**(または `Ctrl+Enter` / `Cmd+Enter`)をクリックして生成
5. 生成された画像が出力プレビューに表示され、`ComfyUI/output/` に保存されます

![Krea 2 テキストから画像ワークフロー](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/api_krea2_t2i.png)

## Krea 2: Style Reference ワークフロー

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

### 実行手順

1. ワークフローには 2 つの **Load Image** ノードが含まれており、サンプルのスタイル参照画像がプリロードされています(独自の画像も使用可能)
2. 各画像は個別の **Krea 2 Style Reference** ノードに接続 — 参照ごとに **strength** パラメータを調整
3. スタイル参照は **Krea 2 Image** ノードにチェーンで渡されます(最大 10 個までチェーン可能)
4. **Krea 2 Image** ノードでテキストプロンプトを入力し、他のパラメータを設定
5. **Queue Prompt** をクリックして生成

![Krea 2 スタイルリファレンスワークフロー](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/api_krea2_style_reference.png)

<CardGroup cols={2}>
<Card title="サンプル画像 1 をダウンロード" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/krea_style_reference_image1.png">
スタイルリファレンスのサンプル画像を取得
</Card>
<Card title="サンプル画像 2 をダウンロード" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/krea_style_reference_image2.png">
スタイルリファレンスのサンプル画像を取得
</Card>
</CardGroup>

### 補足説明

- **クリエイティビティレベル**:Raw → Low → Medium → High。高いほど美的深度が増し、低いほどプロンプトへの忠実度が高まります
- **スタイルリファレンス強度**:範囲 -2.0 から 2.0。負の値はスタイルの影響を反転します
- **ムードボード**:オプションの Krea ウェブサイト UUID(影響度は調整可能)
Loading
Loading