ComfyUI Insert Anything 將 ByteDance 的強大 Insert Anything 技術帶入了 ComfyUI 環境。基於 Diffusion Transformer (DiT) 架構,這款 Insert Anything 工具使您能夠在保持視覺和諧和保留細節的同時,無縫地將參考圖像中的元素轉移到目標場景中。
Insert Anything 工作流程與傳統圖像編輯工具不同,允許對象、人物、服裝和面部在不同圖像之間的自然整合,具有顯著的身份保留,使 Insert Anything 成為一個多功能的解決方案。
逐步的 Insert Anything 過程:
Source
部分:上傳您希望 Insert Anything 修改的目標圖像(例如賽道場景)Reference
部分:上傳包含您希望 Insert Anything 插入的元素的圖像(例如賽車)CR Prompt Text
節點中為 Insert Anything 設置您的提示:
Src_mask_option
和 Ref_mask_option
精細調整遮罩Run
按鈕以使用 Insert Anything 處理您的圖像Insert Anything 的核心組件:
Insert Anything 預處理:
source_image
:需要 Insert Anything 修改的目標圖像ref_image
:包含 Insert Anything 要插入元素的參考圖像source_mask
/ref_mask
:自動生成或用戶提供的 Insert Anything 遮罩iterations
:控制 Insert Anything 遮罩擴展以獲得更好的覆蓋(默認:2)Insert Anything 推理:
seed
:允許通過更改此值來獲得可重複的 Insert Anything 結果或變體Insert Anything 的分割工具:
SAM 與 Insert Anything 的集成:
LayerMask: Load SegmentAnything Models
:初始化 Insert Anything 的對象檢測系統LayerMask: SegmentAnythingUltra V3
:控制 Insert Anything 的遮罩過程
threshold
:調整 Insert Anything 的遮罩檢測靈敏度(默認:0.30)detail_erode
/detail_dilate
:微調 Insert Anything 中的遮罩邊界process_detail
:切換 Insert Anything 中複雜邊緣的增強處理max_megapixels
:管理大 Insert Anything 圖像的內存使用Insert Anything 的遮罩控制:
Src_mask_option
/Ref_mask_option
:選擇自動(草圖)或手動(上傳)的 Insert Anything 遮罩Insert Anything 遮罩精細化:
iterations
參數Insert Anything 工作流程優化:
seed
值來獲得 Insert Anything 的變體有效的 Insert Anything 提示:
此工作流程實現了 Insert Anything,最初由 ByteDance 開發,如其研究論文 "" 中所述。ComfyUI Insert Anything 集成為此技術提供了用户友好的界面。完全歸功於原作者的創新 Insert Anything 工作。
RunComfy 是首選的 ComfyUI 平台,提供 ComfyUI 在線 環境和服務,以及 ComfyUI 工作流程 具有驚豔的視覺效果。 RunComfy還提供 AI Playground, 幫助藝術家利用最新的AI工具創作出令人驚艷的藝術作品。