Change Head and Face Lora for qwenedit2509 【换脸换头】
詳細
ファイルをダウンロード
このバージョンについて
モデル説明
LoRAで頭部を簡単に変更可能
v3 動画:
換頭換臉V3版本lora发布,增强换头能力,同时增加只换脸的工作流_哔哩哔哩_bilibili
複数人物の頭部交換ワークフロー構築解説:
https://www.bilibili.com/video/BV1kHCEBAE1o/
v3ワークフローのオンライン実行および無料ダウンロード:(workflow online run and download for free)
頭部交換(change head) https://www.runninghub.ai/post/1982452159784591362/?inviteCode=rh-v1284
顔のみ交換(change face) https://www.runninghub.ai/post/1982452463880028162/?inviteCode=rh-v1284
複数人物の頭部交換(change head from more than one person) https://www.runninghub.ai/post/1974368355002003458/?inviteCode=rh-v1284
高解像度画像での頭部交換の効果デモ(注:まだ完全開発されておらず、オンライン実行のみ対応、今後ワークフローのダウンロードを提供予定)
https://www.runninghub.cn/ai-detail/1989135201211125762/?inviteCode=rh-v1284
Demo for HD-image change head:
https://www.runninghub.ai/ai-detail/1989135201211125762/?inviteCode=rh-v1284
空き時間にオンラインで試してみてください。4K、5Kの画像を入力し、画質を確認できます。
V3の変更点:
フルモデルを使用して再学習
成功率向上
顔のみ交換機能を追加
v3ベースプロンプト:
図1の人物の髪、イヤリング、ネックレス、帽子などの頭部アクセサリーを除去する;
図1の人物の顔を図2の人物の顔に置き換える(元の顔を完全に上書きし、残さない);
図1の人物の髪型を図2の人物の髪型に置き換える(長さ、色は図2と完全に一致させ、元の髪型の痕跡を残さない);
図2の人物の表情(視線、顔の向き)を図1の人物に同期して適用する;
新しい顔と新しい髪型は図1のシーンの照明と自然に融合し、境界が目立たないようにする。
推奨ウェイト:0.7–1(融合度は高から低へ。画像間の光線、色の違いに応じて調整)
融合度がまだ低い場合はさらに下げてもよい
v3 ネットストレージダウンロード:
私は「神都猫 换頭換臉V3」を夸克クラウドストレージで共有しました。リンクをクリックするか、全文をコピーして「夸克APP」を開くと取得できます。
/cb8a3960hL:/
リンク:https://pan.quark.cn/s/04bdfb676edc?pwd=F45b
抽出コード:F45b
V3よくある質問:
- なぜ頭部が大きくなるのか?
対処法:ローカルリペイントを使用し、上記の複数人物頭部交換ワークフローを参考に、マスク領域を元の人物の頭部範囲に沿って描画し、頭部交換後の頭部の拡大を防ぐ。
- なぜ成功しないのか?
交換対象の頭部は、正面を向いており、顔に遮蔽物がなく、明確な画像が最適です。遮蔽物があったり、角度が不自然な場合、失敗する可能性があります。できるだけ高品質な頭部素材を使用するか、他のモデルで事前に高品質素材に変換してください。
- 頭部交換後、光の明るさが統一されない
プロンプトに「交換後の顔の肌色を他の肌と一致させる」を追加
交換前に色調調整ノードを追加
交換後にLBM relight(再照明)ノードを追加
V1 動画:
神都猫Qwen2509訓練lora之换头lora分享_哔哩哔哩_bilibili
ワークフローとWebでの実行
https://www.runninghub.ai/post/1982452159784591362/?inviteCode=rh-v1284
V1
私は「換頭モデル及びワークフロー」を夸克クラウドストレージで共有しました。リンクをクリックするか、全文をコピーして「夸克APP」を開くと取得できます。 /bc6638qtXl:/ リンク:https://pan.quark.cn/s/135a54ba809b 抽出コード:cuCE
プロンプト:
図1の人物の頭部を図2の頭部に置き換える
(トレーニング用プロンプトのため、中国語プロンプトをそのまま使用することをお勧めします)
20ステップ
2.5 CFG
最良の効果を得るために、照明LoRAは使用しない
V2:
V2更新
より多くの画像セットで再学習。中国人、西洋人、異なる性別を含む
より多くのトレーニングステップ
図2の人物の頭部と顔は、遮蔽がなく、完全で明確であることを確認してください(Please ensure that the head and face of the character in Figure 2 are unobstructed and complete and clear)
テスト環境パラメータ:(Test environment parameters:)
qwen2509fp8 + 8ステップ照明LoRA + 12ステップ + CFG1 + Euler + Beta
まだ残っている問題:
ほとんどの場合、顔が置き換わってしまう(Most of the time, the face will be replaced)
一部の場合、髪型が完全に置き換わらない(Sometimes the hairstyle cannot be completely replaced and left to V3 to solve)
頭部が大きくなる場合あり。重要な場合はPhotoshopで液化調整可能(bigger head, also can photoshop it if important)
頭部交換または顔のみ交換が可能。以下に例示するコマンド(中国語または英語のいずれか一方を使用。ただし、中国語を優先してください。これは大規模中国語モデルです)
シンプルなコマンド:(Simple prompt)
図1の背景と人物の姿勢を変えず、図1の人物の頭部を図2の人物の頭部に置き換える。図2の人物の顔、髪、アクセサリーを図1の人物の頭部位置に移動させる。置換後は、図2の人物の顔の特徴と髪型を可能な限り維持し、図1の環境の照明と自然に融合させる。
Without changing the background and posture of the character in image1, replace the head of the character in image1 with the head of the character in image2. The face, hair, and accessories of the character in image2 should be moved to the current position of the character's head in image1. After replacement, try to keep the facial features and hairstyle of the character in image2 unchanged, and integrate the light and shadow of the environment in image1.
以下は最適化された参考コマンド(個別に調整可能):(The following are optimized reference instructions (can be modified according to each one):)
頭部全体交換コマンド:(Head replacement instruction:)
図1の人物の髪、イヤリング(あれば)、ネックレス(あれば)、帽子(あれば)を除去する。
図1の人物の顔を図2の人物の顔に置き換える。
図1の人物の髪型を図2の人物の髪型に置き換え、長さと色を図2の人物と完全に一致させる。
図1の人物の表情を図2の人物の表情に置き換え、視線と顔の向きを図2の人物と一致させる。
最終的な結果の顔は図2の人物の顔に完全に置き換わっていること。図1の人物の顔は一切残さないこと。
最終的な結果の髪型は図2の人物の髪型に置き換わっていること。図1の人物の髪型は一切残さないこと。
図1の環境の照明と融合させる。
Remove the hair, earrings (if any), necklace (if any), and hat (if any) of the character in Figure 1.
Replace the face of the character in Figure 1 with the face of the character in Figure 2.
Replace the hairstyle of the character in Figure 1 with the hairstyle of the character in Figure 2, with the same length and color as the character in Figure 2.
Replace the facial expressions of the characters in Figure 1 with those in Figure 2, with eye contact and face orientation consistent with those of the characters in Figure 2.
The face of the character in the final effect should be changed to the face of the character in Figure 2, and the face of the character in Figure 1 should no longer be retained.
The hairstyle of the character checking the final effect should be changed to the hairstyle of the character in Figure 2, rather than retaining the hairstyle of the character in Figure 1.
Integrating the light and shadow of the environment in image1
顔のみ交換コマンド:
図1の人物の顔を図2の人物の顔に置き換える。
図1の人物の髪型と色は維持し、図2の人物の髪型と色に置き換えない。
図1の人物の表情を図2の人物の表情に置き換え、視線と顔の向きを図2の人物と一致させる。
最終的な結果の顔は図2の人物の顔に完全に置き換わっていること。図1の人物の顔は一切残さないこと。
最終的な結果の髪型と色は、図1のオリジナルのままであること。図2の人物の髪型と色に変更しないこと。
Only face changing instruction:
Replace the face of the character in Figure 1 with the face of the character in Figure 2.
Maintain the hairstyle and color of the character in Figure 1, and do not switch to the hairstyle and color of the character in Figure 2
Replace the facial expressions of the characters in Figure 1 with those in Figure 2, with eye contact and face orientation consistent with those of the characters in Figure 2.
The face of the character in the final effect should be changed to the face of the character in Figure 2, and the face of the character in Figure 1 should no longer be retained.
Check that the hairstyle and color of the character in the final effect are still the same as those in Figure 1, and do not change to the hairstyle and color of the character in Figure 2.
--
より多くの応用はご自身で体験してください。たとえば、表情を図1のままにするか図2に置き換えるかなど、必要に応じて上記のコマンドを調整して試してください。
Of course, you can experience more gameplay by yourself, such as whether to keep the emoji in Figure 1 or switch it to Figure 2. Please refer to the instructions as needed and try it out












