Instructions to use TencentARC/WorldCrafter-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TencentARC/WorldCrafter-Base 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("TencentARC/WorldCrafter-Base", 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 transformer/diffusion_pytorch_model-00004-of-00006.safetensors from TencentARC/WorldCrafter-Base: direct link, hf CLI and curl.
- Browser
- Download file 9.84 GB
-
https://huggingface.co/TencentARC/WorldCrafter-Base/resolve/main/transformer/diffusion_pytorch_model-00004-of-00006.safetensors
- Command line
-
hf download hf://TencentARC/WorldCrafter-Base/transformer/diffusion_pytorch_model-00004-of-00006.safetensors
-
curl -L -o diffusion_pytorch_model-00004-of-00006.safetensors https://huggingface.co/TencentARC/WorldCrafter-Base/resolve/main/transformer/diffusion_pytorch_model-00004-of-00006.safetensors
9.84 GB
- Xet hash:
- 62d96194d02c77b1de7cb7dbc44d62b3ce5efc2a8ebd820654ddc5199a2271f9
- Size of remote file:
- 9.84 GB
- SHA256:
- 28fd1c7dda85bdae64cdf0e24ee5c856ef41a72c547bf373fe68101b71d4bec0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.