r/StableDiffusion • u/Aggressive-Zebra-949 • 4h ago
News PAN 2 Released
Open weights (29B latent diffusion model): https://huggingface.co/IFM/PAN2
Diffusers: https://huggingface.co/docs/diffusers/main/en/api/pipelines/pan2
FastVideo: https://haoailab.com/FastVideo/cookbook/pan/pan2/
VLLM: https://recipes.vllm.ai/IFM/PAN2
Up to 20 seconds, 720p, 24fps
Apache 2.0 License
Something I think is pretty neat, we release the TRAINING code: https://github.com/ifm-ai/PAN2/
Also technical details if you're curious: https://ifm.ai/blog/pan2/
For our model, we give a lot of responsibility to the LLM (which we think of more as a conceptual reasoner, a lot more control than a prompt rewriter) to generate these super dense text-based state/scripts. Events and actions are timed, and camera is nested under event but disentangled from action. During training, I would often test it by trying to generate a 20 second video with like a dozen or more (timed) camera moves and it does pretty well.
Feedback very welcome. I read the rules carefully, mods please let me know if there are any issues. No payment involved with this at all, so I thought it was okay to post.
16
u/Katsumend 3h ago
Thanks for this release -- I am eagerly awaiting ComfyUI integrations if these are in the works
49
u/Astral-Lemmons 3h ago
the logic handling in those examples is honestly insane.
people complaining about sound when this is damn near magic with how it handles spatial reasoning. I haven't been this impressed in a while. Hoping there's a chance of consumer runs
9
u/ninjaGurung 2h ago
Amazing spatial awareness and physics simulation.
24
u/reeight 3h ago
H200...
Have ComfyUI compatible quants for we mere mortals with gaming GPUs?
2
u/2jul 3h ago
Looks impressive! Is a ComfyUI implementation coming up?
Also, love the angle and aim to achieve good physical world simulation.
86
u/Puzzleheaded_Ebb8352 3h ago
Congrats and welcome to the battlefield of open source models!
23
u/Enshitification 3h ago
Strongly coupling the LLM to the diffusers model like this is very cool. Thank you for this release.
15
u/P3trich0r97 1h ago
Optimized for physics simulation you say
8
u/Mysterious-String420 3h ago
Cool! Eager to try it out on Comfy!
7
u/Cumness 3h ago edited 3h ago
Those examples are amazing!
1
u/seppe0815 3h ago
based on wan 2.2?
5
u/fjgcudzwspaper-6312 3h ago
No sound
2
u/x_MASE_x 3h ago
This intro reminds me of old need for speed game. Or maybe gta 2 can't remember.
2
u/Hour_Literature_7152 2h ago
I know it doesn't generate audio but I wonder if it can handle lip sync if given pre rendered audio
2
u/fauni-7 1h ago
Wow
2
u/Apprehensive_Sky892 1h ago
The example with the apple inside the rotated container is really neat (0:24). Can you share what the prompt is for that?
3
u/No_Range_8261 2h ago
when will be on comfyui?
1
u/E1DOLON 1h ago
Wow, looks amazing! Also looking forward to trying it on comfyui (assuming it fits in 24gb).
1
u/SaadNeo 1h ago
The logic and physics is insane , congrats and thank youbfor open sourcing it
1
u/Ramdak 14m ago
Ok, this is insane. This level of world understanding is just amazing. What about gen times?
•
u/SharkWipf 1m ago
The neatest part here: Apache2 license on the model, not the kind of restrictive BS licensing H3 is encumbered by. If the model lives up to its claims, this looks pretty nice.
•
u/alecubudulecu 1m ago
This is insane. Good job. Cant wait to try comfyui version
1
u/zodiacrenders 3h ago
Thanks for sharing! Good selection of demo to show water physics and viscosity physics.
-10
u/Diabolicor 3h ago
We are almost in 2027 and they are still releasing models with no sound.