私的AI研究会 > ComfyUI19c
「ComfyUI」を使ってローカル環境でのAI画像生成を検証する
| 元画像から場面や状況に応じた画像に「Qwen-Image-2.1」で編集する方法を探る |
| 元画像 ① | 元画像 ② | |
![]() | ![]() | |
| 引用 → https://note.com/juicy_turkey1799/n/n0e3326da8aa2 | 引用 → https://note.com/ai_visual_works/n/n35c4e6ea6390 |
| プロンプト | 生成画像 | ||
| 画像のサイズを変えない場合 8461_qwen_image_2.1_turbo_edit_base.json | 指定サイズで同じ画像をつくる 8464_qwen_image_2.1_turbo_outpaint.json | ||
| ① | Please do not alter the original image in any way; keep it exactly as it is. | ![]() | ![]() |
| ② | 元の画像には一切手を加えず、そのままの状態で維持してください。 | ![]() | ![]() |
| プロンプト | 生成画像 8464_qwen_image_2.1_turbo_outpaint.json | ||
| 構図指定なし | <<全身の構図を指定>> | ||
| ① | Adjust the figure in <Image1> to an upright, forward-facing posture with both arms hanging at their sides, and change the background to a simple gray. <<Ensure the framing includes the entire body.>> | ![]() | ![]() |
| ② | <Image1>の人物を、両腕を体の横に自然に垂らした、正面を向いた直立の姿勢に調整してください。また、背景をシンプルなグレーに変更してください。<<全身が収まるような構図にしてください。>> | ![]() | ![]() |
| 生成画像 | ||||
| 正面、背面、側面 リファレンスシート 8469_qwen_image_2.1_turbo_3view | アパレル写真 8470_qwen_image_2.1_turbo_outfit | スタイルシート 8472_qwen_image_2.1_turbo_style_sheet | 顔のスタイルシート 8473_qwen_image_2.1_turbo_face_sheet | |
| ① | ![]() | ![]() | ![]() | ![]() |
| ② | ![]() | ![]() | ![]() | ![]() |
| ① | A | B | C | D | E | F |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | |
| G | H | |||||
![]() | 5612_minimax_h3_i2v_turbo4 で動画生成 | |||||
| ② | A | B | C | G |
![]() | ![]() | ![]() | 5612_minimax_h3_i2v_turbo4 で動画生成 | |
| D | E | F | ||
![]() | ![]() | ![]() |
| 元画像 ⑫ | スタイルシート | |||
![]() | ![]() | ![]() | ![]() | |
| ⑫ | A | B | C | G |
![]() | ![]() | ![]() | 5612_minimax_h3_i2v_turbo4 で動画生成 | |
| D | E | F | ||
![]() | ![]() | ![]() | ||
| 参照画像 1 | 参照画像 2 | プロンプト | 生成画像 | |
| A | 参照画像 1 の姿勢・服装・背景などを変える → 8464_qwen_image_2.1_turbo_outpaint / 8461_qwen_image_2.1_turbo_edit_base.json | |||
![]() | なし | Adjust the person in <Image1> to an upright, forward-facing posture, with both arms hanging naturally at their sides. Ensure that their entire body is contained within the frame. | ![]() | |
| <Image1>の人物を、両腕を自然に体の横に垂らした、まっすぐ前を向いた姿勢に調整してください。その際、全身がフレーム内に収まるようにしてください。 | ||||
| B | Change the background of this image to that of a lounge at night. Place a woman on a sofa, seated with her legs crossed; she should be shown running her right hand through her hair, while holding a brandy glass in her left hand. Create a sensual atmosphere designed to stir the imagination of a mature man. | ![]() | ||
| この画像の背景を、夜のラウンジの風景に変更してください。ソファに足を組んで座る女性を配置し、彼女が右手で髪をかき上げながら、左手にはブランデーグラスを持っている様子を描いてください。成熟した男性の想像力をかき立てるような、官能的な雰囲気を演出してください。 | ||||
| C | Please change the background of this image to a scene of a café by a window. The woman is seated on a café chair, with her right hand resting at her side and her left hand holding a cup of coffee. | ![]() | ||
| この画像の背景を、窓辺のカフェの風景に変更してください。女性はカフェの椅子に座っており、右手を体の横に置き、左手にはコーヒーカップを持っています。 | ||||
| D | 参照画像 1 の姿勢・服装・背景などを変える → 8464_qwen_image_2.1_turbo_outpaint / 8461_qwen_image_2.1_turbo_edit_base.json | |||
![]() | なし | Please change the background of this image to a setting resembling a lounge at night. Have a woman sit on a sofa with her legs together and both hands placed on the seat. Use an angle that shows her down to below the knees, and create a sensual atmosphere designed to stir the imagination of a mature man. | ![]() | |
| この画像の背景を、夜のラウンジのような空間に変更してください。女性をソファに座らせ、両脚を揃え、両手を座面に置いたポーズにしてください。膝下までが写るようなアングルにし、大人の男性の想像力をかき立てるような、官能的な雰囲気を演出してください。 | ||||
| E | Please turn <Image1> into a full-body image. | ![]() | ||
| <Image1>を全身画像にしてください。 | ||||
| F | Adjust the person in <Image1> to an upright, forward-facing posture, with both arms hanging naturally at their sides. Please turn <Image1> into a full-body image. | ![]() | ||
| <Image1>の人物を、両腕を自然に体の横に垂らした、まっすぐ前を向いた姿勢に調整してください。また、<Image1>を全身が写る画像にしてください。 | ||||
| G | 参照画像 1 の人物を 参照画像 2 の人物に入れ替える → 8452_qwen_image_2.1_turbo_image_edit | |||
![]() | ![]() | Please replace the woman in <Image1> with the person in <Image2>. | ![]() | |
| <Image1>の女性を、<Image2>の人物に置き換えてください。 | ||||
| H | 参照画像 1 の人物を 参照画像 2 の人物に入れ替える → 8402_qwen_image_2.1_image_edit | |||
![]() | ![]() | Please replace the person in <Image1> with the one in <Image2>. | ![]() | |
| <Image1>の人物を、<Image2>の人物に置き換えてください。 | ||||
| I | 参照画像 1 の姿勢・服装・背景などを変える → 8461_qwen_image_2.1_turbo_edit_base.json | |||
![]() | なし | Please change the background of this image to a hotel guest room at night. Have a woman lying on her back on the bed, with her right hand running through her hair and her left hand resting naturally by her side. Create a sensual atmosphere designed to stir the imagination of an adult man. | ![]() | |
| この画像の背景を、夜のホテルの客室に変更してください。ベッドの上には女性が仰向けになっており、右手を髪に通し、左手は自然に体の横に置いている状態にしてください。大人の男性の想像力をかき立てるような、官能的な雰囲気を演出してください。 | ||||
| 目的 | 使用するワークフロー | プロンプト | 生成サイズ | 備考 |
| 画像を再現する | 8461_qwen_image_2.1_turbo_edit_base | 入力必要 | 入力画像 | 入力画像サイズで生成 |
| 8464_qwen_image_2.1_turbo_outpaint | 任意指定 | 指定サイズで生成 | ||
| 正面を向いた全身画像の生成 | 8464_qwen_image_2.1_turbo_outpaint | 入力必要 | 任意指定 | 入力画像のポーズを矯正 |
| スタイルシートをつくる | 8469_qwen_image_2.1_turbo_3view | 設定済み | 設定済み (3:2) | 正面、背面、側面 リファレンスシート |
| 8470_qwen_image_2.1_turbo_outfit | 設定済み (3:4) | アパレル写真 | ||
| 8472_qwen_image_2.1_turbo_style_sheet | 設定済み (1:1) | スタイルシート | ||
| 8473_qwen_image_2.1_turbo_face_sheet | 設定済み (3:2) | 顔のスタイルシート | ||
| 顔の交換(フェイス・スワップ) | 8474_qwen_image_2.1_turbo_face_swap | 設定済み | 任意指定 | 生成で変化した顔を元に戻す |
| 人を入れ替える | 8475_qwen_image_2.1_turbo_person_swap | 設定済み | 任意指定 | ポーズも含めて交換 |
| ポーズを替える | 8465_qwen_image_2.1_turbo_openpose | 設定済み | 任意指定 | 参照画像(人物)のポーズに変更 |
| 8462_qwen_image_2.1_turbo_ref2image | 入力必要 | 任意指定 | 参照画像(棒人間)のポーズに変更 | |
| 縦横比を替える | 8464_qwen_image_2.1_turbo_outpaint | 設定済み | 任意指定 | 不足した周囲をアウトペイント |
| 画像の高精細化 | 8466_qwen_image_2.1_turbo_upscale | 設定済み | 入力画像 | 小さい画像のアップスケール |