Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

IFM
/
PAN2

Image-Text-to-Video
Diffusers
Safetensors
English
world-model
world-simulation
text-to-video
image-to-video
diffusion-transformer
Model card Files Files and versions
xet
Community
2

Instructions to use IFM/PAN2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use IFM/PAN2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("IFM/PAN2", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
PAN2
86.2 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 3 commits
wuqing157's picture
wuqing157
Set library_name to diffusers so downloads are counted
82f54c6 verified 1 day ago
  • assets
    PAN2 8 days ago
  • safety_checker
    Support safety_checker as a diffusers modular pipeline component (#1) 4 days ago
  • scheduler
    PAN2 8 days ago
  • text_encoder
    PAN2 8 days ago
  • tokenizer
    PAN2 8 days ago
  • transformer
    PAN2 8 days ago
  • vae
    PAN2 8 days ago
  • .gitattributes
    2.67 kB
    PAN2 8 days ago
  • LICENSE
    11.4 kB
    PAN2 8 days ago
  • NOTICE
    807 Bytes
    PAN2 8 days ago
  • README.md
    16.7 kB
    Set library_name to diffusers so downloads are counted 1 day ago
  • THIRD_PARTY_LICENSES
    35.6 kB
    PAN2 8 days ago
  • modular_model_index.json
    1.87 kB
    Support safety_checker as a diffusers modular pipeline component (#1) 4 days ago