私的AI研究会 > ComfyUI18
「ComfyUI」を使ってローカル環境でのAI画像生成を検証する
| 中国大手EC企業 JD.com(京東集団)の画像生成AIモデルを検証してみる |
| このプロジェクトで作成するワークフローと関連データは下記にアップロードしている(更新されている場合は再度ダウンロードのこと) |
📂ComfyUI └─📂user └─📂default └─📂workflows ← ワークフローの保存場所 : ├─📂JoyAI ← この章で作成するワークフロー :・解凍してできる「ComfyUI/」フォルダを「StabilityMatrix/Data/Packages/ComfyUI」へ上書きコピーする
| 拡張ノード(検索名) | 拡張ノード URL | 主な機能 / 参照ページ | ワークフロー |
| rgthree | rgthree-comfy | ノードをスイッチで切り替える |
| モデル名 | ファイル名(.safetensors) | 配置先(/StabilityMatrix/Data/) | ダウンロード URL | 利用先 | |
| diffusion_models | joyai_image_edit_plus_int8_convrot | Models/ | DiffusionModels/ | joyai_image_edit_plus_int8_convrot.safetensors | |
| text_encoders | qwen3vl_8b_joyimage_edit_plus_int8_convrot | TextEncoders | qwen3vl_8b_joyimage_edit_plus_int8_convrot.safetensors | ||
| vae | wan_2.1_vae | VAE/ | wan_2.1_vae.safetensors | ||
| フォルダ | ワークフロー名 (.json) | モデル | 機能 (参照ページ) | 特記事項(同じ機能のワークフロー .json) |
| JoyAI | 8301_joyai_image_edit | 通常版 INT8 | JoyAI Image Edit 基本ワークフロー | (image_joyai_image_edit.json |
| 8302_joyai_image_edit_simple | JoyAI Image Edit 展開版ワークフロー | 8301 展開版 | ||
| 8303_joyai_image_edit_plus | JoyAI Image Edit plus 基本ワークフロー | (workflow_joyimage_edit_plus.json | ||
| 8304_joyai_image_edit_plus_simple | JoyAI Image Edit plus 展開版ワークフロー | 8103 展開版 |
| ComfyUI オフィシャルサイトで公開されているテンプレートのシード値を固定して再現性を確保し動かしながら整理する |
![]() | ① 左端のメニューから「Template」を選択 ②「Joy Image Edit」を選択する ・表示された一覧からワークフローを選ぶ ③「Joy Image Edit」 ・ワークフローでエラーが発生する場合はモデルの配置を確認する | |
| 入力画像 2944x1648 | 生成画像 1376x768 | |
![]() | ![]() | |
| テンプレート名 | モデル | ワークフロー | 保存ワークフロー名 | |
| ③ | JoyAI Image Edit | INT8 | image_joyai_image_edit.json | image_joyai_image_edit.json |
| プロンプト |
| Change the background to a glacial scene. |
| 背景を氷河の風景に変更してください。 |
| プロンプト |
| Change the background to a glacial scene. |
| 背景を氷河の風景に変更してください。 |
| JoyAI オフィシャルサイト で公開されているワークフローのシード値を固定して再現性を確保し動かしながら整理する |
| テンプレート名 | モデル | ワークフロー | 保存ワークフロー名 | |
| ③ | JoyAI Image Edit plus | INT8 | workflow_joyimage_edit_plus.json | workflow_joyimage_edit_plus.json |
| プロンプト |
| The woman is lovingly holding the cute puppy in her arms. |
| その女性は、愛おしそうに可愛い子犬を抱きしめています。 |
| プロンプト |
| The woman is lovingly holding the cute puppy in her arms. |
| その女性は、愛おしそうに可愛い子犬を抱きしめています。 |
| 画像編集を参試してみる 参考URL → https://note.com/sepiablue/n/nce6b6d20b6d0 https://note.com/sepiablue/n/n933b27244324 |
| 編集内容 | プロンプト | 生成画像 | |
| ① | 悲しい表情にする | Change only her facial expression to a clearly sad and slightly worried expression with subtly furrowed eyebrows and a downturned mouth. Preserve her exact identity, eyes, hairstyle, hair color, outfit, pose, classroom background, composition,style, and lighting. | |
| 彼女の表情だけを、眉をわずかに寄せ、口元を下げた、明らかに悲しげで少し心配そうな表情に変えてください。本人であること、目、髪型、髪色、服装、ポーズ、教室の背景、構図、スタイル、照明はそのまま維持してください。 | |||
| ② | 目を閉じる | Change only her eyes so that both eyes are gently and naturally closed. Preserve her exact identity, mouth and smile, hairstyle, hair color, outfit, pose, classroom background, composition, style, and lighting. | |
| 目元だけを変更し、両目が優しく自然に閉じている状態にしてください。彼女の本人としての特徴、口元や笑顔、髪型、髪色、服装、ポーズ、教室の背景、構図、スタイル、照明はそのまま維持してください。 | |||
| ③ | 口を閉じる | Change only her mouth so it is naturally closed with relaxed lips. Preserve her exact identity, eyes, facial shape, hairstyle, hair color, outfit, pose, classroom background, composition, style, and lighting. | |
| 口元だけを変更し、唇の力を抜いて自然に閉じている状態にしてください。彼女の本人としての特徴、目、顔の輪郭、髪型、髪色、服装、ポーズ、教室の背景、構図、スタイル、照明はそのまま維持してください。 | |||
| ④ | 髪型をショートヘアにする | Change only her hairstyle to short, straight short hair with the same bangs. Keep the original dark hair color. Preserve her exact identity, face, expression, outfit, pose, classroom background, composition, style, and lighting. | |
| 彼女の髪型だけを、同じ前髪のまま、ストレートのショートヘアに変更してください。元の暗い髪色は維持してください。彼女の本人らしさ、顔立ち、表情、服装、ポーズ、教室の背景、構図、スタイル、照明はそのまま残してください。 | |||
| ⑤ | 髪を茶色にする | Change only her hair color to warm chestnut brown, including the bun and loose strands. Preserve the exact hairstyle, identity, face, expression, outfit, pose, classroom background, composition, style, and lighting. | |
| お団子や後れ毛を含め、彼女の髪の色だけを温かみのあるチェスナットブラウンに変更してください。髪型、本人らしさ、顔立ち、表情、服装、ポーズ、教室の背景、構図、スタイル、照明はそのまま維持してください。 | |||
| ⑥ | 右手を上げる | Raise the girl's right hand, located on the viewer's left, beside her head in a friendly open-palm wave. Preserve her exact identity, face, hairstyle, outfit, left arm, body position, classroom background, composition, style, and lighting. | |
| 見る側から見て左側にいる少女の右手を、頭の横で手のひらを開いて親しげに振るポーズにしてください。その際、少女の容姿、顔立ち、髪型、服装、左腕、体の向き、教室の背景、構図、画風、そして照明はそのまま維持してください。 | |||
| ⑦ | 背景を海辺の砂浜にする | Replace only the park background with a seaside setting—a sunny, white sandy beach with gentle waves and soft sunlight. Please preserve the girl's exact identity, face, hairstyle, expression, clothing, pose, scale, composition, and style. | |
| 公園の背景のみを海辺の風景(晴れた白い砂浜、穏やかな波、柔らかな日差し)に差し替えてください。その際、少女の容姿、顔立ち、髪型、表情、服装、ポーズ、サイズ感、構図、そして全体的なスタイルは、元のまま正確に維持してください。 | |||
| ⑧ | 人物を横向きにする | Turn the girl and her head 90 degrees so she is shown in a clean right-facing side profile, looking toward the right side of the image. Preserve her identity, hairstyle, outfit, classroom background, style, and lighting. | |
| 少女とその頭部を90度回転させ、画像の右側を向いた、すっきりとした右向きの横顔になるようにしてください。その際、彼女の容貌、髪型、服装、教室の背景、画風、そして照明の雰囲気を維持してください。 | |||
| ⑨ | 人物を後ろ向きにする | Please rotate the girl and her head 180 degrees to create a composition viewed from directly behind. Ensure the back of her hairstyle, hat, and clothing are visible, while her face remains hidden. Maintain the body posture, background, composition, style, and lighting exactly as they are. | |
| 少女とその頭部を180度回転させ、真後ろから見た構図にしてください。顔は見えないようにしつつ、髪型、帽子、服装の背面がしっかりと見えるようにします。体の姿勢、背景、構図、スタイル、照明は、そのまま維持してください。 | |||
| ⑩ | 顔アップにする | Change only the camera framing to a tight centered close-up portrait of her face, from the top of her hair to just below her chin. Preserve her exact identity, expression, hairstyle, hair color, style, lighting, and image quality. | |
| カメラのフレーミングのみを変更し、彼女の顔を中央に据えたタイトなクローズアップ・ポートレート(髪の生え際から顎のすぐ下まで)にしてください。彼女の容貌、表情、髪型、髪色、スタイル、ライティング、画質はそのまま維持してください。 | |||
| ⑪ | 引きの画角にする | Zoom the camera far out to show the girl standing from head to toe in a full-body wide shot in the same background. Preserve her exact identity, face, hairstyle, clothing, style, lighting, and natural body proportions. | |
| 同じ背景で、少女の全身(頭から足先まで)が収まるワイドショットになるよう、カメラを大きく引いてください。その際、彼女の容姿、顔立ち、髪型、服装、スタイル、照明、そして自然な体型を正確に維持してください。 | |||
| ⑫ | 花を持たせる | Have the girl hold a small bouquet of fresh red tulips with both hands at chest height. Preserve her exact identity, face, hairstyle, expression, clothing, body position, background, composition, style, and lighting. | |
| その少女に、新鮮な赤いチューリップの小さな花束を胸の高さで両手で持たせてください。彼女の容姿、顔立ち、髪型、表情、服装、体の向き、背景、構図、スタイル、そして照明をそのまま維持してください。 | |||
| 参照画像 ② | プロンプト | 生成画像 |
| ① 人物と公園背景を合成する | ||
| Use image 1 only as the character reference and image 2 only as the environment reference. Place the exact character from image 1 standing naturally on the botanical park path from image 2. Preserve her identity, face, hairstyle, clothing, body proportions, and style. Replace the original background completely. Match the character scale, perspective, contact shadow, and daylight to image 2. Do not add extra people or objects. | ||
| 画像1はキャラクターの参考資料としてのみ、画像2は背景の参考資料としてのみ使用してください。画像1のキャラクターをそのまま、画像2にある植物園の小道の上に自然な立ち姿で配置してください。その際、キャラクターの容姿、顔立ち、髪型、服装、体型、スタイルを忠実に維持し、元の背景は完全に置き換えてください。キャラクターのサイズ感、遠近法、足元の影(コンタクトシャドウ)、そして光の当たり方(昼光)を画像2の環境に合わせて調整してください。余分な人物や物体は追加しないでください。 | ||
| ② 背景へ合成して人物を座らせる | ||
| Use image 1 as the character reference and image 2 as the environment and bench reference. Place the exact character from image 1 sitting naturally on the wooden bench in image 2, with her hips on the seat, knees bent, feet toward the ground, and hands relaxed. Preserve her identity, face, hairstyle, clothing, body proportions, and style. Replace the original background completely and match the perspective, scale, daylight, and contact shadows. Do not add extra people. | ||
| 画像1をキャラクターの、画像2を環境とベンチの参考資料として使用してください。画像1のキャラクターをそのまま、画像2の木製ベンチに自然な姿勢(腰を座面に置き、膝を曲げ、足を地面に向け、手をリラックスさせた状態)で配置してください。その際、キャラクターの容姿、顔立ち、髪型、服装、体型、スタイルを忠実に再現してください。元の背景は完全に差し替え、遠近法、スケール、自然光、接地影(コンタクトシャドウ)を適切に合わせてください。他の人物は追加しないでください。 | ||
| ③ 背景へ合成して夕方にする | ||
| Use image 1 only as the character reference and image 2 only as the environment and lighting reference. Place the exact character from image 1 naturally on the riverside promenade from image 2. Replace the original background completely and make the unified scene clearly sunset and early evening. Cast warm orange-pink sunset light and long soft shadows on the character so she belongs in the scene. Preserve her identity, face, hairstyle, clothing, proportions, and style. Do not add extra people. | ||
| 画像1はキャラクターの参考資料としてのみ、画像2は背景と照明の参考資料としてのみ使用してください。画像1のキャラクターをそのまま、画像2の川沿いの遊歩道に自然な形で配置してください。元の背景を完全に差し替え、シーン全体を夕暮れから夕方にかけての時間帯として統一感のある描写にしてください。キャラクターに温かみのあるオレンジピンクの夕日を当て、長く柔らかな影を落とすことで、彼女がその場に自然に溶け込んでいるように見せてください。彼女の特徴、顔立ち、髪型、服装、プロポーション、スタイルは維持してください。他の人物は追加しないでください。 | ||
| ④ 背景へ遠景の人物として合成する | ||
| Use image 1 as the character reference and image 2 as the environment and camera-composition reference. Show the exact character from image 1 as a small full-body figure far away near the center of the broad plaza in image 2, photographed from a long distance in a wide establishing shot with abundant surroundings and deep perspective. Preserve her recognizable identity, black hairstyle, clothing, proportions, and style. Replace the original background completely, match daylight and shadows, and do not add extra people. | ||
| 画像1をキャラクターの、画像2を環境およびカメラ構図の参考資料として使用してください。画像2の広々とした広場の中央付近に、画像1のキャラクターを遠く離れた小さな全身像として配置し、周囲の風景を広く取り入れた奥行きのあるロングショット(全景ショット)で表現してください。その際、彼女の特徴である容姿、黒髪のヘアスタイル、服装、プロポーション、スタイルを維持してください。元の背景は完全に差し替え、自然光や影の表現を整合させるとともに、余分な人物は追加しないでください。 | ||