Image-Text-to-Video
Diffusers
Safetensors
English
world-model
world-simulation
text-to-video
image-to-video
diffusion-transformer
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
Commit History
4 days ago
-
Set library_name to diffusers so downloads are counted
Verified signature82f54c6
7 days ago
-
Support safety_checker as a diffusers modular pipeline component (#1)
- Support safety_checker as a diffusers modular pipeline component (738cecc12ffb890f5df2a85c376afd500641e285)a7936f7
11 days ago
-
PAN2
Co-authored-by: gxchris95 <[email protected]> Co-authored-by: hongyixu2008 <[email protected]> Co-authored-by: wuqing157 <[email protected]>936a8a3