Image-to-Video
Diffusers
MLX
i2v
character-animation
video-generation
cross-identity-replacement
pose-driven
diffusion
apple-silicon
Instructions to use SceneWorks/scail2-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SceneWorks/scail2-mlx 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("SceneWorks/scail2-mlx", 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") - MLX
How to use SceneWorks/scail2-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download SceneWorks/scail2-mlx --local-dir scail2-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download vae.safetensors from SceneWorks/scail2-mlx: direct link, hf CLI and curl.
- Browser
- Download file 508 MB
-
https://huggingface.co/SceneWorks/scail2-mlx/resolve/main/vae.safetensors
- Command line
-
hf download hf://SceneWorks/scail2-mlx/vae.safetensors
-
curl -L -o vae.safetensors https://huggingface.co/SceneWorks/scail2-mlx/resolve/main/vae.safetensors
508 MB
- Xet hash:
- 75aa6e61d9093a7f63247dbd7c1c454d8a2ca6e243254693b44af2ba6986aa13
- Size of remote file:
- 508 MB
- SHA256:
- 42159a8b571dbeb3ea40327b88a6161a5342c0511202af7c031360629757163d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.