Krea2 Txt2imgのロゴ

Krea2 Txt2img

コミュニティ
artokun
krea2-txt2img

ネイティブのkrea2 CLIPLoader、Qwen3-VLエンコーダー、Qwen image VAE、8ステップのTurbo設定、Ideogram風のJSONプロンプトを使って、Krea 2 Turboのtxt2imgワークフローを構築します。

Add to TypingMind

概要

公開者artokun
リポジトリcomfyui-mcp
スキル名krea2-txt2img
スター
811
フォーク
137
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    artokunがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Krea2 Txt2img」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/krea2-txt2img
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/artokun/comfyui-mcp.git /tmp/comfyui-mcp
mkdir -p .claude/skills
cp -r /tmp/comfyui-mcp/plugin/skills/krea2-txt2img .claude/skills/krea2-txt2img
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでKrea2 Txt2imgを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にKrea2 Txt2imgを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Krea2 Txt2imgは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Krea 2 Text-to-Image Workflows

Overview

Krea 2 is a 12B-parameter Diffusion Transformer from Krea.ai (released June 2026, weights open-sourced under the Krea 2 Community License, free commercial use up to 50 seats). Two variants:

  1. Krea 2 Raw is the base checkpoint before extra post-training. For fine-tuning / maximum fidelity, more steps.
  2. Krea 2 Turbo is post-trained and distilled; it generates in ~8 steps at cfg 1. This is what the krea2 txt2img packs ship.

Three packs (V2 — no group toggles)

Sliced from the KREA2 ULTRA V2 monolith into standalone single-pipeline packs. Pick by how you prompt and what you want:

  • krea2-txt2img-manual: plain prose prompt (the MANUAL PROMPT node).
  • krea2-txt2img-json: Ideogram-4-style structured JSON / area prompting (Ideogram4PromptBuilderKJ).
  • krea2-combo: two-pass detail boost, a first pass then a low-denoise refine (denoise 0.3), with the krea2 turbo LoRA @0.2 on both passes plus the optional IdeoKrea LoRA. JSON/Ideogram-style prompting; saves both passes to compare.

Each pack's one prompt source is active (no prompt-mode bypass to flip). ImageSharpenKJ runs before SaveImage. V2 adds the Krea2T-Enhancer MODEL detail-boost patch (ships active) and drops v1's ConditioningKrea2Rebalance. RBG_Smart_Seed_Variance ships bypassed (optional, see below).

Krea 2 has native ComfyUI support (comfy/text_encoders/krea2.py, ComfyUI ≥ v0.26.0). The CLIPLoader uses type=krea2, with a Qwen3-VL 4B text encoder and the Qwen image VAE. The Qwen3-VL encoder drives strong prompt adherence and structured-JSON prompts.

Models (all from the Aitrepreneur/FLX mirror; official: krea/Krea-2-Turbo)

SlotFileNotes
diffusion_models/krea2_turbo_fp8.safetensors12B Turbo, fp8 — RTX 4000/3000/2000
diffusion_models/krea2_turbo_mxfp8.safetensorsRTX 5000 (Blackwell) native fp8
text_encoders/qwen3vl_4b_fp8_scaled.safetensorsQwen3-VL 4B encoder
vae/qwen_image_vae.safetensorsQwen image VAE
loras/krea2_turbo_lora_rank_64_bf16.safetensorsturbo LoRA — combo only, @0.2 both passes
loras/IdeoKrea-test.safetensorsOPTIONAL Ideogram-style LoRA (Aitrepreneur/IdeoKrea) — combo add-in

Node stack

  • core: UNETLoader (krea2_turbo) → CLIPLoader (type=krea2) → VAELoader (qwen_image_vae), wired via KJNodes SetNode/GetNode buses into a subgraph (CLIPTextEncode → KSampler → VAEDecode). An rgthree Any Switch sits in front of the encoder; in each pack only that pack's prompt source is wired to it (manual node in -manual, JSON builder in -json).
  • rgthree-comfy: Power Lora Loader, Any Switch, Label, Fast Groups.
  • ComfyUI-KJNodes: Set/Get, Ideogram4PromptBuilderKJ, ImageSharpenKJ, INTConstant.
  • ComfyUI-Krea2T-Enhancer (capitan01R): Krea2T-Enhancer, the V2 MODEL→MODEL detail-boost patch, wired in the model path (PowerLora → Krea2T-Enhancer → sampler). Ships active; bypass to compare against the un-boosted result.
  • ComfyUI-RBG-SmartSeedVariance: RBG_Smart_Seed_Variance, optional, ships bypassed in the positive-conditioning loop.
  • ComfyUI_essentials (cubiq): ImageResize+, combo only (the two-pass VAE-roundtrip resize).

Settings that matter

  • steps 8, cfg 1. Turbo is distilled; more steps or higher cfg over-cooks it.
  • sampler er_sde, scheduler simple are the verified defaults.
  • 1920×1080 default; Krea 2 handles a wide aspect range.
  • The prompt source is fixed per pack (manual node vs JSON builder). There is no prompt-mode bypass to flip.

V2 detail boost (Krea2T-Enhancer) + combo

  • Krea2T-Enhancer is a MODEL→MODEL patch (the V2 "massive detail boost"). It sits inline in the model path and ships active in all three packs. Widgets are [on, strength, …]; bypass it (or toggle on) to A/B the boost.
  • krea2-combo is the full demonstration of the boost, a two-pass refine: FIRST PASS (8 steps, er_sde, denoise 1) → VAE roundtrip → SECOND PASS (4 steps, euler, denoise 0.3), with the turbo LoRA @0.2 on both passes. It SAVES BOTH passes so you can see the boost. The IdeoKrea LoRA is downloaded but NOT wired by default. Drop it into the Power Lora Loader's empty slot (start ~0.5 to 1.0; it's a test LoRA) for the turbo + IdeoKrea Ideogram-style combo.

Optional post-proc (ships bypassed — un-bypass to use)

All packs leave RBG_Smart_Seed_Variance in the positive-conditioning loop bypassed (passthrough). Un-bypass on the live canvas with panel_set_node_mode (or in the UI) for controlled variations of the same prompt without changing the composition. Set its seed mode to randomize and tune the variance mode (e.g. 🌿 Balanced) / strength widgets. Leave bypassed for a deterministic result.

JSON / area prompting

Like Ideogram 4, Krea 2's Qwen3-VL encoder reads structured prompts (per-region desc + bounding boxes + palettes). For structured prompting use the krea2-txt2img-json pack; its Ideogram4PromptBuilderKJ drives the encoder directly (no bypass to flip). After the render, VERIFY the image matches the JSON you set (view it) BEFORE continuing; if it doesn't, a field is probably stale. Fix and rerun. Gotchas learned the hard way:

  • Set ALL the builder fields, not only the prompt/boxes: background, technical, style, lighting (widgets 3/5/6/7). Leaving stale values leaks content (a leftover celebrity portrait bled into a tea still-life).
  • Keep palettes minimal or empty. A top-level palette with many colors can render as a literal color-swatch strip down the edge of the image. Empty palette: [] (top-level and per-box) gives a clean full-frame result.
  • Add "no people / single full-frame photograph" to style for object/landscape scenes. Krea 2 follows it well.

Verification status

  • v1 (-manual / -json core graph): render-verified, crisp 1920×1080 / 8 steps / cfg 1 / er_sde (snow-leopard prose + tea-still-life JSON with each object in its bbox).
  • V2 additions (the Krea2T-Enhancer active patch + the krea2-combo two-pass) are statically validated (clean slice + structural lint) but not yet live-rendered. They need the ComfyUI-Krea2T-Enhancer node, the turbo/IdeoKrea LoRAs installed, and a healthy ComfyUI. Re-run scripts/verify-render.mjs once those are present.
  • Note: the ImageSharpenKJ (rcas 0.55) before SaveImage is active. Bypassing it drops the image link (a converter gap: bypass-passthrough doesn't cross a subgraph IMAGE output), and the contrast-adaptive sharpen suits Krea 2's crisp look anyway.

Gotchas

  • CLIPLoader: 'krea2' not in list → ComfyUI too old; update to ≥ v0.26.0.
  • Torch not compiled with CUDA enabled → reinstall torch for your CUDA tag (--index-url https://download.pytorch.org/whl/cu128).

Sources

  • Official: none found.
  • Empirical: sampler values, wiring, and prompt notes from working graphs in packs/ and observed renders; not a vendor prompting guide.

よくある質問

AIスキル「Krea2 Txt2img」では何ができますか?

ネイティブのkrea2 CLIPLoader、Qwen3-VLエンコーダー、Qwen image VAE、8ステップのTurbo設定、Ideogram風のJSONプロンプトを使って、Krea 2 Turboのtxt2imgワークフローを構築します。

TypingMindでKrea2 Txt2imgを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Krea2 Txt2imgはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにKrea2 Txt2imgをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/krea2-txt2imgを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Krea2 Txt2imgを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Krea2 Txt2imgで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもKrea2 Txt2imgを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Krea2 Txt2img」は無料ですか?

はい。artokunがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇