Instructions to use qihoo360/FancyVideo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use qihoo360/FancyVideo 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("qihoo360/FancyVideo", 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
maao commited on
Commit ·
ec3783c
1
Parent(s): f06857d
update 125_frames & video_extending & video_backtracking models
Browse files
resources/models/fancyvideo_ckpts/vae_3d_125_frames/mp_rank_00_model_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:969216b028d7d5228cefa609b2132e28f0fd03571a6a5bb020c115f1577b43e9
|
| 3 |
+
size 4353119965
|
resources/models/fancyvideo_ckpts/video_backtracking/mp_rank_00_model_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39f673e2727f0eaed574ec7245d6d0ccdb48d74712cd6fe304110d339d2be10e
|
| 3 |
+
size 4353119965
|
resources/models/fancyvideo_ckpts/video_extending/mp_rank_00_model_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f183d13d178aeeda6118fa2c7c6779ee4518a452cba221ec72dcaf9187cb073e
|
| 3 |
+
size 4353119965
|