ComfyUI Extension: ComfyUI_RH_FramePack

Authored by HM-RunningHub

Created

Updated

157 stars

This is a ComfyUI plug-in for lllyasviel/FramePack, easy to use

Custom Nodes (0)

    README

    FramePack for ComfyUI

    20250506 Update: Added support for FramePack_F1.

    20250421 Update: Added support for first/last frame image-to-video generation from TTPlanetPig
    TTPlanetPig https://github.com/lllyasviel/FramePack/pull/167

    Online Access

    You can access RunningHub online to use this plugin and models for free:

    English Version

    中文版本

    Features

    This is a simple implementation of https://github.com/lllyasviel/FramePack. If there are any advantages, they would be:

    • Better automatic adaptation for 24GB GPUs, enabling higher resolution processing whenever possible.
    • The entire workflow requires no parameter adjustments, making it extremely user-friendly.

    Model Download Guide

    Choose a Download Method (Pick One)

    1. Download via Cloud Storage (for users in China)

      • [T8模型包] (https://pan.quark.cn/s/9669ce6c7356)
    2. One-Click Download with Python Script

      from huggingface_hub import snapshot_download
      
      # Download HunyuanVideo model
      snapshot_download(
          repo_id="hunyuanvideo-community/HunyuanVideo",
          local_dir="HunyuanVideo",
          ignore_patterns=["transformer/*", "*.git*", "*.log*", "*.md"],
          local_dir_use_symlinks=False
      )
      
      # Download flux_redux_bfl model
      snapshot_download(
          repo_id="lllyasviel/flux_redux_bfl",
          local_dir="flux_redux_bfl",
          ignore_patterns=["*.git*", "*.log*", "*.md"],
          local_dir_use_symlinks=False
      )
      
      # Download FramePackI2V_HY model
      snapshot_download(
          repo_id="lllyasviel/FramePackI2V_HY",
          local_dir="FramePackI2V_HY",
          ignore_patterns=["*.git*", "*.log*", "*.md"],
          local_dir_use_symlinks=False
      )
      
      # Download FramePackF1_HY model
      snapshot_download(
          repo_id="lllyasviel/FramePack_F1_I2V_HY_20250503",
          local_dir="FramePackF1_HY",
          ignore_patterns=["transformer/*", "*.git*", "*.log*", "*.md"],
          local_dir_use_symlinks=False
      )
      
      
    3. Manual Download

    4. File Structure After Download

    comfyui/models/
    FramePackF1_HY
    ├── config.json
    ├── diffusion_pytorch_model-00001-of-00003.safetensors
    ├── diffusion_pytorch_model-00002-of-00003.safetensors
    ├── diffusion_pytorch_model-00003-of-00003.safetensors
    ├── diffusion_pytorch_model.safetensors.index.json
    └── down.py
    FramePackI2V_HY
    ├── config.json
    ├── diffusion_pytorch_model-00001-of-00003.safetensors
    ├── diffusion_pytorch_model-00002-of-00003.safetensors
    ├── diffusion_pytorch_model-00003-of-00003.safetensors
    └── diffusion_pytorch_model.safetensors.index.json
    flux_redux_bfl
    ├── feature_extractor
    │   └── preprocessor_config.json
    ├── image_embedder
    │   ├── config.json
    │   └── diffusion_pytorch_model.safetensors
    ├── image_encoder
    │   ├── config.json
    │   └── model.safetensors
    └── model_index.json
    HunyuanVideo
    ├── config.json
    ├── model_index.json
    ├── scheduler
    │   └── scheduler_config.json
    ├── text_encoder
    │   ├── config.json
    │   ├── model-00001-of-00004.safetensors
    │   ├── model-00002-of-00004.safetensors
    │   ├── model-00003-of-00004.safetensors
    │   ├── model-00004-of-00004.safetensors
    │   └── model.safetensors.index.json
    ├── text_encoder_2
    │   ├── config.json
    │   └── model.safetensors
    ├── tokenizer
    │   ├── special_tokens_map.json
    │   ├── tokenizer.json
    │   └── tokenizer_config.json
    ├── tokenizer_2
    │   ├── merges.txt
    │   ├── special_tokens_map.json
    │   ├── tokenizer_config.json
    │   └── vocab.json
    └── vae
        ├── config.json
        └── diffusion_pytorch_model.safetensors
    

    image