Instructions to use TencentARC/WorldCrafter-Fast with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TencentARC/WorldCrafter-Fast 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-Fast", 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
WorldCrafter-Fast
Self-contained weights for WorldCrafter Fast image-to-video, text-to-video, and the interactive image-to-video demo. Use the WorldCrafter inference code and its pinned uv environment.
The two transformer branches have independent DMD LoRA and camera adapters. The RepEncoder, text encoder, tokenizer, VAE, and scheduler are included here. No WorldCrafter-Base files are needed for Fast inference.
From the code repository root:
python inference.py --model-type fast --model-path weights/WorldCrafter-Fast --output-path outputs/fast.mp4
Image-to-video uses five high-noise steps and one low-noise step per chunk. Text-to-video uses four high-noise and eight low-noise steps for the first chunk, then two high-noise and four low-noise steps. Compilation is optional with --enable-compile.
inference_config.json resolves shared components from this directory (shared_components: "."). Keep all component folders together. manifest.json records checkpoint provenance and validation hashes; SHA256SUMS covers the packaged files.
Paper and Resources
- Downloads last month
- -