av addict einops future numpy scipy opencv-python matplotlib scikit-image # torch>=1.7.1 # torchvision>=0.8.2 imageio-ffmpeg pyyaml requests timm yapf
AniCrafter: Customizing Realistic Human-Centric Animation via Avatar-Background Conditioning in Video Diffusion Models, you can try this methods when use ComfyUI.
In the ./ComfyUI /custom_node directory, run the following:
git clone https://github.com/smthemex/ComfyUI_AniCrafter.git
pip install -r requirements.txt
and
pip install mmcv_full-1.7.2
pip install flash-attn --no-build-isolation
pip install tb-nightly
pip install git+https://github.com/XPixelGroup/BasicSR
pip install git+https://github.com/facebookresearch/pytorch3d.git
pip install git+https://github.com/hitsz-zuoqi/sam2/
pip install git+https://github.com/ashawkey/diff-gaussian-rasterization/
pip install git+https://github.com/camenduru/simple-knn/
Path ‘…site-packages/chumpy/ch.py, line 1203 ,change 修改参数如下
inspect.getargspec
to
inspect.getfullargspec
.../site-packages/chumpy/__init__.py #line 11,change
#from numpy import bool, int, float, complex, object, unicode, str, nan, inf
from numpy import complex_, object_, nan, inf
import builtins
bool_ = builtins.bool
int_ = builtins.int
float_ = builtins.float
str_ = builtins.str
#for m in sys.modules:
for m in list(sys.modules):
├── your comfyUI/models/AniCrafter/
| ├──pretrained_models
| ├── all fiels #pretrained_models目录下所有文件及文件结构
| ├── propainter
| ├── ProPainter.pth #propainter models 下次改成可预加载
| ├── raft-things.pth
| ├── recurrent_flow_completion.pth
├── your comfyUI/models/vae/
| ├──Wan2.1_VAE.pth
├── models/clip_vision/
| ├── models_clip_open-clip-xlm-roberta-large-vit-huge-14.pth
├── models/clip/
| ├── models_t5_umt5-xxl-enc-bf16.pth
├── your comfyUI/models/diffusion_models/
| ├──Wan2_1-I2V-14B-720P_fp8_e4m3fn.safetensors # or Wan2_1-I2V-14B-480P_fp8_e4m3fn.safetensors #16G
├── your comfyUI/models/loras/
├──lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors # or other
@article{niu2025anicrafter,
title={AniCrafter: Customizing Realistic Human-Centric Animation via Avatar-Background Conditioning in Video Diffusion Models},
author={Niu, Muyao and Cao, Mingdeng and Zhan, Yifan and Zhu, Qingtian and Ma, Mingze and Zhao, Jiancheng and Zeng, Yanhong and Zhong, Zhihang and Sun, Xiao and Zheng, Yinqiang},
journal={arXiv preprint arXiv:2505.20255},
year={2025}
}