How to use Soul25r/360-orbit 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("Wan-AI/Wan2.1-I2V-14B-480P,Wan-AI/Wan2.1-I2V-14B-480P-Diffusers", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Soul25r/360-orbit") prompt = "A biker, with a red bandana and black leather jacket, sits astride a motorcycle in a workshop. He looks at the camera with a serious expression. The camera performs an 0rb4it 360 degree orbit, circling around him and the motorcycle, showing the workshop interior including tools, before returning to the front view. Throughout the 0rb4it 360 degree orbit, the biker remains seated on the bike." input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") image = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4")
The community tab is the place to discuss and collaborate with the HF community!