Instructions to use FastVideo/CausalWan2.2-I2V-A14B-Preview-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FastVideo/CausalWan2.2-I2V-A14B-Preview-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FastVideo/CausalWan2.2-I2V-A14B-Preview-Diffusers", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,8 +6,11 @@ pipeline_tag: image-to-video
|
|
| 6 |
---
|
| 7 |
|
| 8 |
# FastVideo CausalWan2.2-I2V-A14B-Preview-Diffusers Model
|
|
|
|
|
|
|
|
|
|
| 9 |
<p align="center">
|
| 10 |
-
<img src="https://
|
| 11 |
</p>
|
| 12 |
<div>
|
| 13 |
<div align="center">
|
|
|
|
| 6 |
---
|
| 7 |
|
| 8 |
# FastVideo CausalWan2.2-I2V-A14B-Preview-Diffusers Model
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
<p align="center">
|
| 13 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/6532f70333c5982a291ca909/zAB7U0da8_8fP1N0DgUS2.png" width="200"/>
|
| 14 |
</p>
|
| 15 |
<div>
|
| 16 |
<div align="center">
|