diff --git a/built-in-nodes/partner-node/image/krea/krea2-image.mdx b/built-in-nodes/partner-node/image/krea/krea2-image.mdx new file mode 100644 index 000000000..88a45fbec --- /dev/null +++ b/built-in-nodes/partner-node/image/krea/krea2-image.mdx @@ -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) diff --git a/built-in-nodes/partner-node/image/krea/krea2-style-reference.mdx b/built-in-nodes/partner-node/image/krea/krea2-style-reference.mdx new file mode 100644 index 000000000..7f3820431 --- /dev/null +++ b/built-in-nodes/partner-node/image/krea/krea2-style-reference.mdx @@ -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) diff --git a/docs.json b/docs.json index 473c7b20a..81f037ce8 100644 --- a/docs.json +++ b/docs.json @@ -423,6 +423,12 @@ "tutorials/partner-nodes/recraft/recraft-text-to-image" ] }, + { + "group": "Krea", + "pages": [ + "tutorials/partner-nodes/krea/krea2-image" + ] + }, { "group": "Kling", "pages": [ @@ -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": [ @@ -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": [ @@ -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": [ @@ -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": [ @@ -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": [ diff --git a/ja/built-in-nodes/partner-node/image/krea/krea2-image.mdx b/ja/built-in-nodes/partner-node/image/krea/krea2-image.mdx new file mode 100644 index 000000000..b253bf233 --- /dev/null +++ b/ja/built-in-nodes/partner-node/image/krea/krea2-image.mdx @@ -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) diff --git a/ja/built-in-nodes/partner-node/image/krea/krea2-style-reference.mdx b/ja/built-in-nodes/partner-node/image/krea/krea2-style-reference.mdx new file mode 100644 index 000000000..06daeb4aa --- /dev/null +++ b/ja/built-in-nodes/partner-node/image/krea/krea2-style-reference.mdx @@ -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) diff --git a/ja/tutorials/partner-nodes/krea/krea2-image.mdx b/ja/tutorials/partner-nodes/krea/krea2-image.mdx new file mode 100644 index 000000000..dc33d3af5 --- /dev/null +++ b/ja/tutorials/partner-nodes/krea/krea2-image.mdx @@ -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 ワークフローの使用方法を説明します。 + + + + +## Krea 2 Image ノードドキュメント + +以下のドキュメントで各ノードの詳細なパラメータ設定をご確認ください: + + +Krea 2 Image Partner ノードドキュメント + + + +Krea 2 Style Reference Partner ノードドキュメント + + +## Krea2: Text to Image ワークフロー + + + + Comfy Cloud で開く + + + JSON をダウンロード、またはテンプレートライブラリで "Krea2: Text to Image" を検索 + + + +### 実行手順 + +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 ワークフロー + + + + Comfy Cloud で開く + + + JSON をダウンロード、またはテンプレートライブラリで "Krea 2: Style Reference" を検索 + + + +### 実行手順 + +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) + + + + スタイルリファレンスのサンプル画像を取得 + + + スタイルリファレンスのサンプル画像を取得 + + + +### 補足説明 + +- **クリエイティビティレベル**:Raw → Low → Medium → High。高いほど美的深度が増し、低いほどプロンプトへの忠実度が高まります +- **スタイルリファレンス強度**:範囲 -2.0 から 2.0。負の値はスタイルの影響を反転します +- **ムードボード**:オプションの Krea ウェブサイト UUID(影響度は調整可能) diff --git a/tutorials/partner-nodes/krea/krea2-image.mdx b/tutorials/partner-nodes/krea/krea2-image.mdx new file mode 100644 index 000000000..bcfd4fa1d --- /dev/null +++ b/tutorials/partner-nodes/krea/krea2-image.mdx @@ -0,0 +1,84 @@ +--- +title: "Krea 2 Image API Node ComfyUI Official Example" +description: "Learn how to use the Krea 2 Image and Krea 2 Style Reference Partner nodes in ComfyUI" +sidebarTitle: "Krea 2 Image" +--- + +import ReqHint from "/snippets/tutorials/partner-nodes/req-hint.mdx"; +import UpdateReminder from "/snippets/tutorials/update-reminder.mdx"; + +The [Krea 2 Image](/built-in-nodes/partner-node/image/krea/krea2-image) and [Krea 2 Style Reference](/built-in-nodes/partner-node/image/krea/krea2-style-reference) nodes bring Krea's first foundation image model into ComfyUI as Partner Nodes. Krea 2 is designed for creative control — with tunable creativity, style references, moodboard conditioning, and two model variants that cover illustration, photorealism, and everything in between. + +In this guide, we'll show you how to use the available Krea 2 workflows. + + + + +## Krea 2 Image Node Documentation + +Check the following documentation for detailed parameter settings of the nodes: + + +Documentation for the Krea 2 Image Partner node + + + +Documentation for the Krea 2 Style Reference Partner node + + +## Krea2: Text to Image Workflow + + + + Open in Comfy Cloud + + + Download JSON or search "Krea2: Text to Image" in Template Library + + + +### Steps to Run the Workflow + +1. Enter your text prompt in the **Krea 2 Image** node +2. Choose between **Krea 2 Medium** and **Krea 2 Large** +3. Adjust optional parameters like **aspect ratio**, **creativity**, and **seed** +4. Click **Queue Prompt** (or `Ctrl+Enter` / `Cmd+Enter`) to generate +5. The generated image appears in the output preview and is saved to `ComfyUI/output/` + +![Krea 2 Text to Image Workflow](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/api_krea2_t2i.png) + +## Krea 2: Style Reference Workflow + + + + Open in Comfy Cloud + + + Download JSON or search "Krea 2: Style Reference" in Template Library + + + +### Steps to Run the Workflow + +1. The workflow includes two **Load Image** nodes pre-loaded with sample style reference images (or load your own) +2. Each image feeds into a **Krea 2 Style Reference** node — adjust the **strength** parameter per reference +3. The style references chain into the **Krea 2 Image** node (up to 10 can be chained) +4. Enter your text prompt and configure other parameters +5. Click **Queue Prompt** to generate + +![Krea 2 Style Reference Workflow](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/api_krea2_style_reference.png) + + + + Get the style reference sample image + + + Get the style reference sample image + + + +### Additional Notes + +- **Creativity levels**: Raw → Low → Medium → High. Higher adds aesthetic depth, lower gives tighter prompt adherence +- **Style reference strength**: Range -2.0 to 2.0. Negative values invert the style influence +- **Moodboard**: Optional UUID from the Krea website, with adjustable influence strength diff --git a/zh/built-in-nodes/partner-node/image/krea/krea2-image.mdx b/zh/built-in-nodes/partner-node/image/krea/krea2-image.mdx new file mode 100644 index 000000000..76cb32c6a --- /dev/null +++ b/zh/built-in-nodes/partner-node/image/krea/krea2-image.mdx @@ -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(表现力写实)。支持可选的 moodboard 和最多 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) diff --git a/zh/built-in-nodes/partner-node/image/krea/krea2-style-reference.mdx b/zh/built-in-nodes/partner-node/image/krea/krea2-style-reference.mdx new file mode 100644 index 000000000..d38d478f2 --- /dev/null +++ b/zh/built-in-nodes/partner-node/image/krea/krea2-style-reference.mdx @@ -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) diff --git a/zh/tutorials/partner-nodes/krea/krea2-image.mdx b/zh/tutorials/partner-nodes/krea/krea2-image.mdx new file mode 100644 index 000000000..cc161fa19 --- /dev/null +++ b/zh/tutorials/partner-nodes/krea/krea2-image.mdx @@ -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/zh/tutorials/partner-nodes/req-hint.mdx"; +import UpdateReminder from "/snippets/zh/tutorials/update-reminder.mdx"; + +[Krea 2 Image](/zh/built-in-nodes/partner-node/image/krea/krea2-image) 和 [Krea 2 Style Reference](/zh/built-in-nodes/partner-node/image/krea/krea2-style-reference) 节点将 Krea 首款基础图像模型引入 ComfyUI 作为合作伙伴节点。Krea 2 专为创意控制而设计,支持可调创造力、风格参考、moodboard 调节,以及从插画到写实全覆盖的两种模型变体。 + +在本指南中,我们将演示如何使用这两个 Krea 2 工作流。 + + + + +## Krea 2 Image 节点文档 + +查看以下文档了解节点的详细参数设置: + + +Krea 2 Image Partner 节点文档 + + + +Krea 2 Style Reference Partner 节点文档 + + +## Krea2: Text to Image 工作流 + + + + 在 Comfy Cloud 打开 + + + 下载 JSON 或在模板库中搜索 "Krea2: Text to Image" + + + +### 运行步骤 + +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 工作流 + + + + 在 Comfy Cloud 打开 + + + 下载 JSON 或在模板库中搜索 "Krea 2: Style Reference" + + + +### 运行步骤 + +1. 工作流包含两个 **Load Image** 节点,预加载了示例风格参考图像(也可加载自己的图片) +2. 每张图像接入一个 **Krea 2 Style Reference** 节点——可调节每个参考的 **strength** 参数 +3. 风格参考链式传入 **Krea 2 Image** 节点(最多可链式连接 10 个) +4. 输入文本提示词并配置其他参数 +5. 点击 **Queue Prompt** 生成 + +![Krea 2 风格参考工作流](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/api_krea2_style_reference.png) + + + + 获取风格参考示例图像 + + + 获取风格参考示例图像 + + + +### 补充说明 + +- **创造力级别**:Raw → Low → Medium → High。越高美学深度越强,越低提示词遵循度越高 +- **风格参考强度**:范围 -2.0 到 2.0。负值反转风格影响 +- **Moodboard**:可选的 Krea 网站 UUID,附带可调影响力强度