Image-to-Video
Diffusers
Safetensors
video-generation
video diffusion transformer
joint-video-audio-generation
sparse-attention
high-resolution
Instructions to use FrancisRing/Prism with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FrancisRing/Prism 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("FrancisRing/Prism", 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
|
@@ -38,7 +38,7 @@ Prism:Dynamic Sparse Attention for Native 2K Joint Video-Audio Generation Model
|
|
| 38 |
</tr>
|
| 39 |
<tr>
|
| 40 |
<td>
|
| 41 |
-
<video src="https://cdn-uploads.huggingface.co/production/uploads/66da6972eae491c64243e8f3/
|
| 42 |
</td>
|
| 43 |
<td>
|
| 44 |
<video src="https://cdn-uploads.huggingface.co/production/uploads/66da6972eae491c64243e8f3/h68LMGY999iE1rjZFG5ji.mp4" width="320" controls loop></video>
|
|
|
|
| 38 |
</tr>
|
| 39 |
<tr>
|
| 40 |
<td>
|
| 41 |
+
<video src="https://cdn-uploads.huggingface.co/production/uploads/66da6972eae491c64243e8f3/t6GUuFmCoTUAufP8X3BmT.mp4" width="320" controls loop></video>
|
| 42 |
</td>
|
| 43 |
<td>
|
| 44 |
<video src="https://cdn-uploads.huggingface.co/production/uploads/66da6972eae491c64243e8f3/h68LMGY999iE1rjZFG5ji.mp4" width="320" controls loop></video>
|