2025-05-06 02:13:54 +08:00
2025-05-06 02:13:54 +08:00
2025-04-21 03:16:19 +08:00
2025-04-18 02:22:43 +08:00
2025-05-06 02:13:54 +08:00
2025-05-06 02:13:54 +08:00
2025-05-06 02:13:54 +08:00

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)

  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/
  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
  └── README.md
  FramePackF1_HY
  ├── config.json  # Example structure, actual files might differ
  └── diffusion_pytorch_model.safetensors # Example structure
  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
  └── README.md
  HunyuanVideo
  ├── config.json
  ├── model_index.json
  ├── README.md
  ├── 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_config.json
  │   └── tokenizer.json
  ├── tokenizer_2
  │   ├── merges.txt
  │   ├── special_tokens_map.json
  │   ├── tokenizer_config.json
  │   └── vocab.json
  └── vae
      ├── config.json
      └── diffusion_pytorch_model.safetensors

Example:

comfyui/models/
  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
  └── README.md
  FramePackF1_HY
  ├── config.json  # Example structure, actual files might differ
  └── diffusion_pytorch_model.safetensors # Example structure
  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
  └── README.md
  HunyuanVideo
  ├── config.json
  ├── model_index.json
  ├── README.md
  ├── 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_config.json
  │   └── tokenizer.json
  ├── tokenizer_2
  │   ├── merges.txt
  │   ├── special_tokens_map.json
  │   ├── tokenizer_config.json
  │   └── vocab.json
  └── vae
      ├── config.json
      └── diffusion_pytorch_model.safetensors
S
Description
No description provided
Readme
138 KiB
Languages
Python 100%