Instructions to use ryen-stuff/SkyFilms-V1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ryen-stuff/SkyFilms-V1 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("ryen-stuff/SkyFilms-V1", 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
Download vae/config.json from ryen-stuff/SkyFilms-V1: direct link, hf CLI and curl.
- Browser
- Download file 839 Bytes
-
https://huggingface.co/ryen-stuff/SkyFilms-V1/resolve/main/vae/config.json
- Command line
-
hf download hf://ryen-stuff/SkyFilms-V1/vae/config.json
-
curl -L -o config.json https://huggingface.co/ryen-stuff/SkyFilms-V1/resolve/main/vae/config.json
839 Bytes
| { | |
| "_class_name": "AutoencoderKLCogVideoX", | |
| "_diffusers_version": "0.31.0.dev0", | |
| "act_fn": "silu", | |
| "block_out_channels": [ | |
| 128, | |
| 256, | |
| 256, | |
| 512 | |
| ], | |
| "down_block_types": [ | |
| "CogVideoXDownBlock3D", | |
| "CogVideoXDownBlock3D", | |
| "CogVideoXDownBlock3D", | |
| "CogVideoXDownBlock3D" | |
| ], | |
| "force_upcast": true, | |
| "in_channels": 3, | |
| "latent_channels": 16, | |
| "latents_mean": null, | |
| "latents_std": null, | |
| "layers_per_block": 3, | |
| "norm_eps": 1e-06, | |
| "norm_num_groups": 32, | |
| "out_channels": 3, | |
| "sample_height": 480, | |
| "sample_width": 720, | |
| "scaling_factor": 0.7, | |
| "shift_factor": null, | |
| "temporal_compression_ratio": 4, | |
| "up_block_types": [ | |
| "CogVideoXUpBlock3D", | |
| "CogVideoXUpBlock3D", | |
| "CogVideoXUpBlock3D", | |
| "CogVideoXUpBlock3D" | |
| ], | |
| "use_post_quant_conv": false, | |
| "use_quant_conv": false | |
| } | |