Instructions to use VAST-AI/EdenLive with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use VAST-AI/EdenLive 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("VAST-AI/EdenLive", 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 vision-encoder/backbone/preprocessor_config.json from VAST-AI/EdenLive: direct link, hf CLI and curl.
- Browser
- Download file 585 Bytes
-
https://huggingface.co/VAST-AI/EdenLive/resolve/main/vision-encoder/backbone/preprocessor_config.json
- Command line
-
hf download hf://VAST-AI/EdenLive/vision-encoder/backbone/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/VAST-AI/EdenLive/resolve/main/vision-encoder/backbone/preprocessor_config.json
585 Bytes
| { | |
| "crop_size": null, | |
| "data_format": "channels_first", | |
| "default_to_square": true, | |
| "device": null, | |
| "disable_grouping": null, | |
| "do_center_crop": null, | |
| "do_convert_rgb": null, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_processor_type": "DINOv3ViTImageProcessorFast", | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "input_data_format": null, | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "return_tensors": null, | |
| "size": { | |
| "height": 224, | |
| "width": 224 | |
| } | |
| } | |