Image-to-Video
Diffusers
WorldCrafterPipeline
worldcrafter
camera-control
autoregressive
context-memory
Instructions to use Drexubery/WorldCrafter-Context with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Drexubery/WorldCrafter-Context 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("Drexubery/WorldCrafter-Context", 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 camera_adapter.bin from Drexubery/WorldCrafter-Context: direct link, hf CLI and curl.
- Browser
- Download file 2.1 GB
-
https://huggingface.co/Drexubery/WorldCrafter-Context/resolve/main/camera_adapter.bin
- Command line
-
hf download hf://Drexubery/WorldCrafter-Context/camera_adapter.bin
-
curl -L -o camera_adapter.bin https://huggingface.co/Drexubery/WorldCrafter-Context/resolve/main/camera_adapter.bin
2.1 GB
- Xet hash:
- e2f0778d1358c804d6c301e6634647f344944a5738bb551fe2adbd2b66f2cf6d
- Size of remote file:
- 2.1 GB
- SHA256:
- 54193515b30bd8e8474bacc745888fbb07dbeb4ca8ec0d364e470bec481e5f78
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.