214 字
1 分钟
StableDiffusion:AdvancedLivePortrait组件:表情控制
1. 安装插件
cd custom_nodesgit clone https://github.com/PowerHouseMan/ComfyUI-AdvancedLivePortrait.gitcd ComfyUI-AdvancedLivePortraitpip install -r requirements.txt2. 下载模型
-
方案一:将nodes.py文件中的huggingface.co替换为hf-mirror.com,以便自动下载模型
-
方案二:手动下载模型
- 新建文件夹:models/liveportrait
- 下载模型:appearance_feature_extractor.safetensors,保存至:models/liveportrait
- 下载模型:motion_extractor.safetensors,保存至:models/liveportrait
- 下载模型:warping_module.safetensors,保存至:models/liveportrait
- 下载模型:spade_generator.safetensors,保存至:models/liveportrait
- 下载模型:stitching_retargeting_module.safetensors,保存至:models/liveportrait
- 下载模型:face_yolov8n.pt,保存至:models/ultralytics
3. 工作流

4. 使用方法
rotate_pitch、rotate_pitch、rotate_pitch:头部姿态blink:眨眼eyebrow:眉毛高度- **wink ** :眨一只眼
pupil_x、pupil_y:瞳仁位置aaa、eee、woo:口型smile:微笑程度
5. 示例图
| 参考图 | 生成图 |
|---|---|
![]() | ![]() |
| 生成图 | 生成图 | 生成图 |
|---|---|---|
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |







