在過去的 AI 繪圖實作中,若想將多位擁有固定外觀設定的原創角色整合至同一張構圖中拍攝「合照」或「全家福」,往往面臨角色特徵相互污染、臉部走樣以及肢體互動僵硬等巨大挑戰。即便是目前主流的多圖參考方案,也經常需要搭配繁複的 LoRA 權重或分區提示詞才能勉強達成。然而,Qwen 團隊開源的 Qwen-Image-2.1 憑藉其創新的混合粒度注意力結構與強大的多圖編輯能力,原生支援同時傳入多達 10 張參考素材,並能透過文字提示詞精準指派不同參考槽位的角色進入畫面的前後景與指定互動位置。
本次教學將運用修改自 ComfyUI 官方的圖片編輯工作流,一口氣引入本站四位看板娘萌芽娘、萌樂、優曇華與方塊鴨娘的獨立透明立繪作為參考依據(<image1> 至 <image4>)。透過指定 16:9 比例與 2.0 MP(約 1920 x 1088 px)的輸出規格,並細膩描寫溫馨客廳、沙發坐姿、搭肩互動與午後柔和採光。實測單次生成的直出成果令人驚艷,四位角色的髮色、瞳色、服飾細節與各自的招牌神韻皆得到極高水準的保留,角色間的肢體遮擋與光影融合更勝過許多同級多模態模型!讀者也可以直接下載文末本站整理好的贊助方案工作流,快速體驗全家福合照的生成魅力。

▲ 修改後的 ComfyUI 工作流配置。左側展開四個「Load Image」節點分別載入四位看板娘的立繪素材,中央節點接入多槽位提示詞,精準指定角色站姿、坐姿與搭肩等交互關係,並將解析度設定為 16:9 2.0 MP 進行高解析度算圖。
完整影像編輯提示詞(Prompt):
A warm and heartwarming medium shot of a four-person family portrait in a sunlit, cozy living room.
The person from <image1> and the person from <image2> stand affectionately in the back row; <image1> has an arm wrapped gently around the shoulder of <image2>, both looking directly at the camera with gentle, proud smiles and relaxed postures.
In the front row, the two people from <image3> and <image4> are seated close together on a comfortable beige fabric sofa. <image3> leans slightly inward with a bright, playful grin, while <image4> sits upright with hands resting neatly in their lap, offering a soft, happy expression.
Maintain the exact facial features, hair textures, and recognizable identities from <image1>, <image2>, <image3>, and <image4>. The lighting is natural and inviting, cast by soft afternoon sunlight filtering through a sheer curtain from the side, creating realistic skin tones and soft shadows. High-resolution family portrait photography, 50mm lens perspective, natural depth of field with a subtly blurred home interior in the background, sharp focus on all four faces.

▲ 本次作為輸入依據的四張參考素材展示。由左至右分別為:<image1> 萌芽娘、<image2> 萌樂、<image3> 優曇華以及 <image4> 方塊鴨娘,四張立繪涵蓋了各自鮮明的髮型配飾、表情神韻與代表性服裝。

▲ 最終單次直出的 1920 x 1088 px 全家福合照成品。後排分別是萌芽娘和萌樂,前排則是優曇華與方塊鴨娘坐在米色沙發上,午後自然側光柔和地灑落於客廳室內,四位角色的外觀特徵與神情皆完美還原且毫無特徵污染。雖然有些小瑕疵,但以單次直出加上 255 秒的生成速度(站長設備:RTX 5070 Ti 16GB VRAM 與 64GB RAM)來說真的太強了。
👉 工作流下載:點擊此處前往下載(贊助方案)
《上一篇》ComfyUI x Qwen-Image-2.1:從參考圖中補全角色全身形象並輸出帶透明度的 RGBA 圖 









留言區 / Comments
萌芽論壇