ComfyUI  >  工作流程  >  InstantCharacter

InstantCharacter

InstantCharacter 是基於 InstantCharacter 框架的 ComfyUI 工作流程,建構於 Diffusion Transformers (DiT),特別是 FLUX。它允許用戶從單一參考圖像生成高品質且身份一致的角色圖像,並由創意文本提示指導。該模型在身份保留和基於提示的控制之間取得了良好的平衡,允許動態、風格化或上下文的角色生成,具有高保真度。

ComfyUI InstantCharacter 工作流程

InstantCharacter ComfyUI Workflow | FLUX DiT Personalization
想要運行這個工作流程嗎?
  • 完全可操作的工作流程
  • 沒有缺失的節點或模型
  • 無需手動設置
  • 具有驚豔的視覺效果

ComfyUI InstantCharacter 範例

instantcharacter-comfyui-workflow-flux-dit-personalization-1252-example_01.webp
instantcharacter-comfyui-workflow-flux-dit-personalization-1252-example_02.webp
instantcharacter-comfyui-workflow-flux-dit-personalization-1252-example_03.webp
instantcharacter-comfyui-workflow-flux-dit-personalization-1252-example_04.webp
instantcharacter-comfyui-workflow-flux-dit-personalization-1252-example_05.webp
instantcharacter-comfyui-workflow-flux-dit-personalization-1252-example_06.webp

ComfyUI InstantCharacter 說明

InstantCharacter ComfyUI 工作流程是什麼?

InstantCharacter 是一個個性化角色圖像生成工作流程,適用於 ComfyUI,構建於 FLUX Diffusion Transformer (DiT) 之上。將 InstantCharacter 視為從單一參考圖像和文本提示中實現高保真角色渲染的工具,同時通過 InstantCharacter 框架保留面部身份、姿勢適應性和創意風格。

無論您是在生成風格化肖像、連續關鍵幀,還是想像在多樣環境中的姿勢,InstantCharacter 都為創作者提供了精確的控制,具有無與倫比的一致性。InstantCharacter 工作流程將騰訊的突破性個性化技術引入 ComfyUI,結合身份保留與創意靈活性。

InstantCharacter 的主要功能和優勢

角色身份保留:InstantCharacter 在靈活創建基於文本指令的高品質圖像的同時,保持角色外觀。InstantCharacter 工作流程在身份一致性和文本可控性之間達到了出色的平衡。

高級特徵提取:InstantCharacter 利用 SigLIP 提取細緻的身份細節,並使用 DINOv2 提取強大的抗背景特徵。這種雙編碼器方法通過 InstantCharacter 的多層次提取提供了全面的角色信息。

可擴展的 DiT 架構:專為 Diffusion Transformers 構建,InstantCharacter 採用全變壓器架構以實現高效的 FLUX 互動。InstantCharacter 使用時步感知的 Q-former 和交叉注意力機制以獲得卓越的性能。

風格兼容性:InstantCharacter 展示了與風格 LoRAs 在動漫、現實和藝術風格中的優秀兼容性。InstantCharacter 框架在適應多樣視覺風格的同時,保持核心身份特徵。

如何在 ComfyUI 中使用 InstantCharacter

加載模型

InstantCharacter Model Loading

InstantCharacter DiT 模型和所需的編碼器會自動加載:

  • InstantCharacter DiT FLUX Adapter 自動初始化以達到最佳性能
  • FLUX 模型下載到 models/diffuser 目錄以進行 InstantCharacter 處理
  • 圖像編碼器下載到 models/clipvision 以進行 InstantCharacter 身份提取
  • InstantCharacter IP-adapter 需要手動下載到 models/ipadapter 從:

InstantCharacter 的系統要求:需要 45GB VRAM,或啟用 CPU 卸載的情況下需要 24GB VRAM 以進行 InstantCharacter 工作流程。

輸入參考

InstantCharacter Reference Input

上傳您角色的 單一參考圖像 以進行 InstantCharacter 處理:

  • 肖像全身圖像最適合 InstantCharacter 分析
  • 保持背景雜亂最小以提高 InstantCharacter 的身份編碼準確性
  • 此參考在所有 InstantCharacter 生成中錨定角色身份

InstantCharacter 模型提取多層次特徵:

  • 通過 InstantCharacter 的 SigLIP 編碼器提取低層次面部和服裝細節
  • 通過 InstantCharacter 的 DINOv2 系統提取區域級和基於塊的結構特徵

採樣器 + 提示

InstantCharacter Sampling

用詳細的提示和採樣選項引導 InstantCharacter 生成

  • InstantCharacter 的正面提示
    • 描述場景、姿勢、風格或表情以供 InstantCharacter 解釋
    • InstantCharacter 擅長處理複雜的動作導向提示
    • 例子:"一個穿著科幻盔甲的角色在霓虹燈走廊中行走,電影燈光"
  • InstantCharacter 的負面提示
    • 從 InstantCharacter 輸出中過濾不需要的特徵
    • 例子:"模糊,多餘的肢體,差的解剖學,水印"
  • InstantCharacter 採樣器設置
    • 選擇像 EulerDPM++ 這樣的採樣器,優化了 InstantCharacter
    • 調整 步驟CFG分辨率 以提高 InstantCharacter 性能
    • 所有 InstantCharacter 輸出自動保存到 ComfyUI 輸出文件夾

適當的提示設計最大化了 InstantCharacter 工作流程中的身份對齊場景準確性

致謝

這個 InstantCharacter ComfyUI 工作流程整合了由 騰訊 開發的 InstantCharacter 模型並由 jax-explorer 實施。特別感謝騰訊研究團隊開發了 InstantCharacter 的先進個性化系統,並感謝 ComfyUI 社區使 InstantCharacter 無縫集成成為可能。

更多關於 InstantCharacter 的資源

探索與 InstantCharacter 相關的技術資源和文檔:

  • GitHub Repository – 官方 InstantCharacter 實施和模型文件。

想要更多 ComfyUI 工作流程嗎?

RunComfy
版權 2025 RunComfy. 保留所有權利。

RunComfy 是首選的 ComfyUI 平台,提供 ComfyUI 在線 環境和服務,以及 ComfyUI 工作流程 具有驚豔的視覺效果。 RunComfy還提供 AI Playground, 幫助藝術家利用最新的AI工具創作出令人驚艷的藝術作品。