私的AI研究会 > ComfyUI20

画像生成AI「ComfyUI」20(応用編Ⅶ) == 編集中 ==†

 「ComfyUI」を使ってローカル環境でのAI画像生成を検証する

▲ 目 次
※ 最終更新:2026/10/19 

『FLUX.3 Image Klein』を検証する†

 2026年10月15日、Black Forest Labs(BFL)が公開した FLUX.3 Image Klein を検証してみる

概要†

プロジェクトで作成するワークフロー†

 このプロジェクトで作成するワークフローと関連データは下記にアップロードしている(更新されている場合は再度ダウンロードのこと)

画像生成のための環境構築†

  1. 必要な拡張ノード → 拡張ノードの導入
    拡張ノード(検索名)拡張ノード URL主な機能 / 参照ページワークフロー
    rgthree rgthree-comfyノードをスイッチで切り替える
    ComfyUI_Custom_Nodes_AlekPet ComfyUI_Custom_Nodes_AlekPetプロンプトを日本語入力する
  2. 必要モデルのダウンロード と配置
    モデル名ファイル名(.safetensors)配置先(/StabilityMatrix/Data/)ダウンロード URLサイズ
    diffusion_modelsflux3-image-klein-base-int8-convrotModels/DiffusionModels/flux3-image-klein-base-int8-convrot.safetensors5.81GB
    flux3-image-klein-int8-convrot (蒸留版)flux3-image-klein-int8-convrot.safetensors5.83GB
    text_encodersqwen3.5_9b_flux3_prompt_upsampler_int8_convrotTextEncoders/qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors9.75GB
    qwen3vl_4b_int8_convrotqwen3vl_4b_int8_convrot.safetensors4.86GB
    vaeflux2-vaeVAE/flux2-vae.safetensors0.34GB

  3. 推奨ワークフロー

Step 1:標準テンプレート を検証する†

 ComfyUI オフィシャルサイトで公開されているテンプレートのシード値を固定して再現性を確保し動かしながら整理する
  1. ワークフローを選ぶ
    comfyui_A80_m.jpg① 左端のメニューから「Template」を選択
    ②「FLUX3 Image」を入力する

    ・表示された一覧からワークフローを選ぶ
    ③「image_flux3_klein_t2i: Text to Image」
    ④「image_flux3_klein_image_edit: Image Edit」
    ⑤「image_flux3_klein_distilled_t2i: Text to Image(蒸留版)」
    ⑥「image_flux3_klein_distilled_image_edit: Image Edit(蒸留版)」

    ・ワークフローでエラーが発生する場合はモデルの配置を確認する
    Text to Image 生成画像
    image_flux3_klein_t2i_00001_m.jpg

  2. Text to Image ワークフロー 動作確認を行ってから保存する
    プロンプト
    close up profile of a young male athlete with closed eyes pressing his sweaty forehead against a soccer ball, right hand gripping the ball, stark white background, athletic jacket, white ball with jagged red graphic patterns, high contrast studio lighting, highly detailed skin texture, sharp focus Absolutely no text, no typography, no letters, no words, no numbers, no logos, no watermark, no captions, pure imagery only.
    目を閉じた若い男性アスリートの横顔のクローズアップ。汗をかいた額をサッカーボールに押し当て、右手でボールをしっかりと掴んでいる。背景は真っ白。アスリート用ジャケットを着用。サッカーボールは白地に赤いギザギザの模様が入っている。コントラストの強いスタジオライティング。肌の質感まで精細に描写され、ピントは鮮明に合っている。文字、タイポグラフィ、数字、ロゴ、透かし(ウォーターマーク)、キャプションなどは一切含まない、純粋な画像のみ。
    FLUX3 Text toImage ワークフローFLUX3 Text to Image SubGraph
    comfyui_A76_m.jpg comfyui_A76a_m.jpg
    「FLUX3/」image_flux3_klein_t2i.json
    ▼ 内部生成プロンプト
    ▼ システムプロンプト

  3. Image Edit ワークフロー 動作確認を行ってから保存する
    プロンプト
    change the dress color to red
    ドレスの色を赤に変更する
    入力画像生成画像FLUX3 Image Edit ワークフロー
    fashion_portrait_blue_m.jpg
    fashion_portrait_blue_silk_gown_vis.png
    image_flux3_klein_image_edit_00001_m.jpg comfyui_A78_m.jpg
    「FLUX3/」image_flux3_klein_image_edit.json
    ・ワークフローに含まれる注意書き
    FLUX.3 編集(画像編集)
    ファイルおよびサンプラーの設定は、テキストから画像を生成する場合(Text-to-Image)と同じです(50ステップ、CFG 3.5、Euler / Simple)
    参照画像(リファレンス)「Set Reference Multi Latent」ノードに複数の入力画像を追加します。プロンプト内では、最初の画像が `<ref_image_0>`、次が `<ref_image_1>`……という順序で指定されます。参照パイプラインの仕様に従い、各参照画像をポジティブプロンプトとネガティブプロンプトの両方に追加してください。
    サイズここでは参照画像が約1メガピクセル(MP)にスケーリングされ、出力されるLatent(潜在表現)もそのサイズに合わせられます。BFLのパイプラインでは、参照画像は元のサイズ(最大約16MP)のまま保持されます。メガピクセル数を増やすことで、より詳細な参照が可能になりますが、その分コスト(計算負荷)も増加します。
    プロンプト編集内容を反映させた、結果全体を表す詳細なキャプション(説明文)を記述してください。
    ノード
    「Empty Flux 2 Latent」ノード画像サイズをカスタマイズする場合
    「Create Bounding Boxes」ノード精密な編集を行うためのプロンプトを作成する場合

  4. Text to Image distilled(蒸留版) ワークフロー 動作確認を行ってから保存する
    プロンプト生成画像
    A cinematic, Dutch angle night shot of a retro hotel entrance illuminated by neon cyan and warm orange lights. A bellhop in uniform pulls a gold luggage cart with suitcases across a wet sidewalk. Inside the brightly lit, teal-toned glass lobby, two women in vintage uniforms stand near a wooden desk alongside tropical plants and a seated figure. The scene features a moody, stylized teal-and-orange color palette with strong neon reflections. Absolutely no text, no typography, no letters, no words, no numbers, no logos, no watermark, no captions, pure imagery only. image_flux3_klein_distilled_t2i_00001_m.jpg
    ネオンシアンと温かみのあるオレンジのライトで照らされたレトロなホテルの入り口を、映画のようなダッチアングルで夜景に捉えた写真。制服を着たベルボーイが、濡れた歩道をスーツケースを積んだ金色の荷物カートを引いている。明るく照らされたティール色のガラス張りのロビーでは、ヴィンテージの制服を着た2人の女性が、熱帯植物​​と座っている人物のそばにある木製のデスクの近くに立っている。このシーンは、強いネオンの反射を伴う、雰囲気のあるスタイリッシュなティールとオレンジのカラーパレットが特徴。テキスト、タイポグラフィ、文字、単語、数字、ロゴ、透かし、キャプションは一切なく、純粋なイメージのみ。
    ▼ 内部生成プロンプト
    FLUX3 Text toImage distilled ワークフローFLUX3 Text to Image distilled SubGraph
    comfyui_A77_m.jpg comfyui_A77a_m.jpg
    「FLUX3/」image_flux3_klein_distilled_t2i.json

  5. Image Edit distilled(蒸留版) ワークフロー 動作確認を行ってから保存する
    プロンプト
    Replace the earring with a single large openwork metal statement earring, one bold curved pendant, intricate hollow metal cutouts, layered metal wires, polished warm bronze finish, structured artistic shape, keep it attached to the correct ear position, match the character's existing lighting, shadows and skin tone, no pearls, no pearl beads, no scattered small beads.
    既存のイヤリングを、大ぶりで透かし細工が施されたメタル製のステートメントイヤリングに差し替えてください。大胆な曲線を描くペンダント状のデザインで、精巧な透かし彫りや、幾重にも重なる金属ワイヤーを取り入れたものにしてください。仕上げは光沢のある温かみのあるブロンズ調とし、構築的で芸術的なフォルムに仕上げます。正しい耳の位置に配置し、キャラクターの既存のライティング、影、肌のトーンと自然に調和させてください。パールやパールビーズ、あるいは散りばめられた小さなビーズは一切使用しないでください。
    入力画像生成画像FLUX3 Image Edit ワークフロー
    woman_gold_m.jpg
    fashion_portrait_blue_silk_gown_vis.png
    image_flux3_klein_distilled_image_edit_00001_m.jpg comfyui_A79_m.jpg
    「FLUX3/」image_flux3_klein_distilled_image_edit.json

  6. Prompt Enhancer ワークフローを整理する
    8500 FLUX3 Prompt Enhancer ワークフロー詳細
    comfyui_A81_m.jpg
    「FLUX3/」8500_flux3_klein_PromptEnhancer.json

  7. Text to Image ワークフローを整理する
    プロンプト8501 FLUX3 Text to Image ワークフロー
    Close-up portrait of a young japanease woman in her 20s, natural makeup, soft expression.
    85mm lens, f/1.4, shallow depth of field, bokeh background.
    Soft window light from the left, golden hour glow, warm skin tones.
    Cinematic, realistic, high detail, professional photography.
    NOT: oversaturated, anime style, low resolution, distorted face.
    comfyui_A82_m.jpg
    「FLUX3/」8501_flux3_klein_t2i.json
    20代の日本人女性のクローズアップ・ポートレート。ナチュラルメイク、柔らかな表情。
    85mmレンズ、f/1.4、浅い被写界深度、背景のボケ。
    左側からの柔らかな窓の光、ゴールデンアワーの輝き、温かみのある肌のトーン。
    映画のような質感、写実的、高精細、プロフェッショナルな写真。
    避けるべき要素:彩度過多、アニメ調、低解像度、顔の歪み。
    日本語・エンハンサーなし日本語・エンハンサーあり英語・エンハンサーなし英語・エンハンサーあり
    &ref(): File not found: "8501_2026-10-19_00005_m.jpg" at page "ComfyUI20";&ref(): File not found: "8501_2026-10-19_00006_m.jpg" at page "ComfyUI20";&ref(): File not found: "8501_2026-10-19_00007_m.jpg" at page "ComfyUI20";&ref(): File not found: "8501_2026-10-19_00008_m.jpg" at page "ComfyUI20";

  8. Image Edit ワークフローを整理する
    プロンプト
    change the dress color to red
    ドレスの色を赤に変更する
    入力画像生成画像FLUX3 Image Edit ワークフロー
    33066_m.jpg 8502_2026-10-19_00002_m.jpg comfyui_A83_m.jpg
    「FLUX3/」8502_flux3_klein_image_edit.json

  9. Text to Image distilled(蒸留版) ワークフローを整理する
    プロンプト8501 FLUX3 Text to Image distille ワークフロー
    Close-up portrait of a young japanease woman in her 20s, natural makeup, soft expression.
    85mm lens, f/1.4, shallow depth of field, bokeh background.
    Soft window light from the left, golden hour glow, warm skin tones.
    Cinematic, realistic, high detail, professional photography.
    NOT: oversaturated, anime style, low resolution, distorted face.
    comfyui_A84_m.jpg
    「FLUX3/」8511_flux3_klein_distilled_t2i.json
    20代の日本人女性のクローズアップ・ポートレート。ナチュラルメイク、柔らかな表情。
    85mmレンズ、f/1.4、浅い被写界深度、背景のボケ。
    左側からの柔らかな窓の光、ゴールデンアワーの輝き、温かみのある肌のトーン。
    映画のような質感、写実的、高精細、プロフェッショナルな写真。
    避けるべき要素:彩度過多、アニメ調、低解像度、顔の歪み。
    日本語・エンハンサーなし日本語・エンハンサーあり英語・エンハンサーなし英語・エンハンサーあり
    &ref(): File not found: "8511_2026-10-19_00001_m.jpg" at page "ComfyUI20";&ref(): File not found: "8511_2026-10-19_00002_m.jpg" at page "ComfyUI20";&ref(): File not found: "8511_2026-10-19_00003_m.jpg" at page "ComfyUI20";&ref(): File not found: "8511_2026-10-19_00004_m.jpg" at page "ComfyUI20";

  10. Image Edit distilled(蒸留版) ワークフローを整理する
    プロンプト
    change the dress color to red
    ドレスの色を赤に変更する
    入力画像生成画像FLUX3 Image Edit distilled ワークフロー
    32742_m.jpg 8512_2026-10-19_00001_m.jpg comfyui_A85_m.jpg
    「FLUX3/」8512_flux3_klein_distilled_image_edit.json

 

更新履歴†

 

参考資料†