はじめに
画像生成AIのKrea 2 Turboについて。
環境
- Ubuntu 22.04 LTS
- Intel Core i9-14900K、メモリ 32GB
- NVIDIA GeForce RTX 4090 (24GB)
- ComfyUI 0.33
Krea 2 Turboのセットアップ
ComfyUIを起動。
テンプレートで “krea” と検索して、「Krea-2: テキストから画像へ」を選択。
エラーで不足しているモデルが出ているので、それらをダウンロードする。
- loras/krea2_darkbrush.safetensors
- vae/qwen_image_vae.safetensors
- text_encoders/qwen3vl_4b_fp8_scaled.safetensors
- diffusion_models/krea2_turbo_fp8_scaled.safetensors
ComfyUIのディレクトリのmodels/の中にloras、vae、text_encoders、diffusion_modelsというディレクトリがあるはずなので、上記のファイルを対応するディレクトリに入れる。
ComfiyUIを再起動する。エラーが出ていなければOK。
[実行する] をクリックして、絵が出てくれば完了。
実行例
アスペクト比4:3、enable_loraはoff。
実写、雨の日、1匹の座る黒猫と、しゃがんで猫の頭を撫でる傘をさした女の子

かわいいアニメイラスト、雨の日、1匹の座る黒猫と、しゃがんで猫の頭を撫でる傘をさした女の子

Ideogram4のstructured JSON captionsも使えるが、文字は少し弱い。
{
"aspect_ratio": "1184:896",
"high_level_description": "A soft-colored anime-style infographic titled 'ローカルLLMでできること6選' featuring six cute cats performing various AI tasks in a 2x3 grid on a pastel background.",
"compositional_deconstruction": {
"background": "A soft pastel cream background with subtle, floating white sparkles and faint, light-blue paw print patterns.",
"elements": [
{
"type": "text",
"bbox": [50, 100, 150, 1084],
"text": "ローカルLLMでできること6選",
"desc": "Large, bold, rounded sans-serif Japanese text in a dark navy blue color, centered at the top of the frame."
},
{
"type": "text",
"bbox": [800, 100, 880, 1084],
"text": "通信不要・課金なし・プライバシー保護。自分の環境で自由に使えます。",
"desc": "Medium-sized, regular-weight sans-serif Japanese text in a soft dark grey, centered at the bottom of the frame."
},
{
"type": "obj",
"bbox": [220, 50, 450, 380],
"desc": "A cute, round-faced white cat sitting at a small laptop, a small blue lock icon floating above the screen."
},
{
"type": "text",
"bbox": [450, 50, 500, 380],
"text": "プライバシーに配慮したチャット",
"desc": "Small, medium-weight sans-serif Japanese text centered beneath the cat."
},
{
"type": "obj",
"bbox": [220, 380, 450, 700],
"desc": "A cute calico cat wearing small spectacles, peering through a magnifying glass at a stack of white papers."
},
{
"type": "text",
"bbox": [450, 380, 500, 700],
"text": "ドキュメント・ファイルの要約・分析",
"desc": "Small, medium-weight sans-serif Japanese text centered beneath the cat."
},
{
"type": "obj",
"bbox": [220, 700, 450, 1034],
"desc": "A cute grey cat looking at a glowing blue database cylinder icon connected to a small, silver hard drive."
},
{
"type": "text",
"bbox": [450, 700, 500, 1034],
"text": "ローカルRAG",
"desc": "Small, medium-weight sans-serif Japanese text centered beneath the cat."
},
{
"type": "obj",
"bbox": [470, 50, 700, 380],
"desc": "A cute orange tabby cat typing enthusiastically on a small keyboard, with green lines of code scrolling on a tiny monitor."
},
{
"type": "text",
"bbox": [700, 50, 750, 380],
"text": "プログラミング支援",
"desc": "Small, medium-weight sans-serif Japanese text centered beneath the cat."
},
{
"type": "obj",
"bbox": [470, 380, 700, 700],
"desc": "A cute white cat surrounded by three speech bubbles containing the characters 'A', 'あ', and '文' in different colors."
},
{
"type": "text",
"bbox": [700, 380, 750, 700],
"text": "多言語翻訳",
"desc": "Small, medium-weight sans-serif Japanese text centered beneath the cat."
},
{
"type": "obj",
"bbox": [470, 700, 700, 1034],
"desc": "A cute black cat holding a colorful magic wand, with a vibrant, swirling cloud of rainbow-colored sparkles emerging from the tip."
},
{
"type": "text",
"bbox": [700, 700, 750, 1034],
"text": "画像生成",
"desc": "Small, medium-weight sans-serif Japanese text centered beneath the cat."
}
]
}
}

|